JavaScript Tips
@JavaScriptWsdom
Insightful and practical JavaScript wisdom.
Dit vind je misschien leuk
Which is your fav framework?
Let’s automate tasks with...
You might not need jQuery, as post-IE8 browsers are pretty easy to deal with. Read more at youmightnotneedjquery.com
A great article from Douglass Crockford about using private members in JavaScript javascript.crockford.com/private.html
Testing in Chrome 36, Array.prototype.filter is 95% slower than a for loop jsperf.com/aarontgrogg-ar…
Modern browsers adhering to ECMA Script 5.1 support the indexOf method on arrays. ecma-international.org/ecma-262/5.1/#…
JavaScript doesn't have block scope; program accordingly.
String concatenation performance can vary dramatically from browser to browser. For example, run jsperf.com/string-concate… in IE and Chrome.
We all love jQuery and Underscore, but when it comes to speed, prefer native for-loops over _.each or $.each jsperf.com/jquery-each-vs…
Prefer checking equality using === rather than ==. === compares value _and_ type, is more explicit and also slightly faster #JavaScript
Follow this account to suggest and receive JavaScript tips and advice! #JavaScript #jQuery
If using global variables, prefix them with "window" so that scope resolution is clearly understood by the dev. (I.e. window.[identifier])
United States Trends
- 1. Jake Paul 178K posts
- 2. Bama 38.9K posts
- 3. Oklahoma 64.8K posts
- 4. #RollTide 17.5K posts
- 5. Mateer 12K posts
- 6. Ryan Williams 3,721 posts
- 7. Rose Bowl 4,896 posts
- 8. Clinton 229K posts
- 9. #boxing 8,540 posts
- 10. #CFBPlayoff 15.6K posts
- 11. Epstein 1.18M posts
- 12. 6ix9ine 5,126 posts
- 13. Wolves 20.7K posts
- 14. Ty Simpson 6,198 posts
- 15. Tyson Fury 3,553 posts
- 16. KO'd 8,496 posts
- 17. Hulk Hogan 2,715 posts
- 18. Finch 7,958 posts
- 19. Dort 9,468 posts
- 20. Dave Chappelle 2,221 posts
Dit vind je misschien leuk
Something went wrong.
Something went wrong.