Being more productive as a software developer can sometimes be done by simply using the right tools for the job. If you can save just one minute a ...
For further actions, you may consider blocking this person and/or reporting abuse
To toggle design mode, put this in your favorite:
javascript:(function(){document.designMode=document.designMode==="on"?"off":"on"})();Holy wow!
The
$0in console after inspecting an element is a game changer!Also, because the array destructuring uses the iteration protocol, we can't destructure a null array:
About the performance considerations, do you have some benchmarks?
I tried a simple array destructuring for pushing values to an array, and it's faster than the
pushmethod: jsben.ch/IFmIzconsole.tableanddebugger;woahthanks !
I've been thinking a lot about this recently, and this is the trick: Pump yourself up about what you're working on. It can't be fake. You really have to somehow make yourself genuinely excited about what you're working on. Productivity will follow automatically. Nothing else even moves the needle compared to this, as far as I'm concerned.
first time I see document.designMode 🤯🤯🤯
thanks !
Ah! I never knew about design mode... that's neat. Not exactly sure what I'll do with that knowledge or how I'd use it... but it's neat to know that it exists :)
$$ and destructuring array was new for me!! thanks
Great Article... Learned a lot..
Thanks for the feedback, i appreciate it
really cool, thanks
Nice
Thank you!
Great article.. I personally find the designmode tip to be fascinating..
Thanks man
console.table will change my life 😂
wow
very informative
thanks!:)
thank you, Mustapha. very useful and well done!
great article! thx
Cool!
Thanks for sharing
Thanks for sharing! I've learned there is a faster way of querySelector. It's cool!
Awesome tips, thanks! :D
Thanks much !! never knew about the design mode..
Thanks for the feedback. You could also set is programmatically in your JS and have fun with it :)
console.table() made my day! Also, it's great to know I can keep some jQuery habits with the $ and $$.
Great tips. Since its begining I'm a heavy user of spread operator as well. // Which tool do you use to create your animated gifs, BTW?