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
$0
in 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
push
method: jsben.ch/IFmIzconsole.table
anddebugger;
woahthanks !
$$ and destructuring array was new for me!! thanks
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 :)
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.
Great Article... Learned a lot..
Thanks for the feedback, i appreciate it
thank you, Mustapha. very useful and well done!
great article! thx
console.table will change my life 😂
really cool, thanks
Nice
console.table() made my day! Also, it's great to know I can keep some jQuery habits with the $ and $$.
wow
very informative
thanks!:)
Thank you!
Cool!
Thanks for sharing
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 :)
Thanks for sharing! I've learned there is a faster way of querySelector. It's cool!
Awesome tips, thanks! :D
Great article.. I personally find the designmode tip to be fascinating..
Thanks man
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?