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. The PENGU 104K posts
- 2. The JUP 76.1K posts
- 3. Reece James 17.7K posts
- 4. Newcastle 67.2K posts
- 5. Garnacho 20.8K posts
- 6. Chelsea 142K posts
- 7. Good Saturday 28.2K posts
- 8. #GMMTVStarlympics2025 4.53M posts
- 9. #NEWCHE 25.6K posts
- 10. Clinton 329K posts
- 11. Chalobah 6,135 posts
- 12. Jake Paul 329K posts
- 13. #Caturday 2,707 posts
- 14. #SaturdayVibes 3,864 posts
- 15. Neto 18.8K posts
- 16. Joao Pedro 8,273 posts
- 17. Harvey Barnes N/A
- 18. Elanga 2,780 posts
- 19. jennie 660K posts
- 20. #GoCanes 3,813 posts
Dit vind je misschien leuk
Something went wrong.
Something went wrong.