https://www.agi.it/economia/smartphone_europa_bq-4050701/news/2018-06-22/
How you can improve your workflow using the JavaScript console
As a web developer, you know very well the need to debug your code. We often use external libraries for logs, and to format and/or display…
How you can improve your workflow using the JavaScript console
Please meet:
console.group()
(orconsole.groupCollapsed()
if we want it to be closed by default). Then add aconsole.groupEnd()
- The
console.table
allows us to visualize these structures inside a beautiful table where we can name the columns and pass them as parameters. -
Console.count, Console.time and Console.timeEnd
These three methods are the Swiss army knife for every developer who needs to debug. The
console.count
counts and outputs the number of times thatcount()
has been invoked on the same line and with the same label. Theconsole.time
starts a timer with a name specified as an input parameter, and can run up to 10,000 simultaneous timers on a given page. Once initiated, we use a call toconsole.timeEnd
to stop the timer and print the elapsed time to the Console.
Via dai social
Alfonso Fuggetta ha scritto recentemente su Medium “Perché ho deciso di lasciare Twitter e Facebook”.
Interessante lettura, molto condivisibile.
A Scuola di Magia: Mary come… Harry Potter! – Mary e il Fiore della Strega
Firefox’s Pocket Tries to Build a Facebook-Style Newsfeed That Respects Your Privacy – Slashdot
Sorgente: Firefox’s Pocket Tries to Build a Facebook-Style Newsfeed That Respects Your Privacy – Slashdot
These are the news I want to read!
I’m going to reinstall Pocket on my overstuffed phone at once
OpenNMT – Open-Source Neural Machine Translation
Have We Been Interpreting Quantum Mechanics Wrong This Whole Time? | WIRED
Have We Been Interpreting Quantum Mechanics Wrong This Whole Time? | WIRED
Well, the video is pretty impressive.
When (and why) you should use ES6 arrow functions — and when you shouldn’t
Nice reminder.
Arrow functions (also called “fat arrow functions”) are undoubtedly one of the more popular features of ES6. They introduced a new way of…
Sorgente: When (and why) you should use ES6 arrow functions — and when you shouldn’t
Abcde
A Better CD Encoder. Truly!