 
                            JavaScript Tips
@JavaScriptWsdom
Insightful and practical JavaScript wisdom.
คุณอาจชื่นชอบ
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 เทรนด์
- 1. Halloween 2.98M posts
- 2. #DoorDashTradeorTreat N/A
- 3. #sweepstakes 2,143 posts
- 4. #smackoff 1,319 posts
- 5. #SwapSilently 8,472 posts
- 6. Jessica Lange 34.7K posts
- 7. Disney 96.5K posts
- 8. YouTube TV 80K posts
- 9. ESPN 78.2K posts
- 10. Hulu 23K posts
- 11. Monangai 1,201 posts
- 12. Coven 10.9K posts
- 13. Grier 15.8K posts
- 14. Trick or Treat 441K posts
- 15. Evan Peters 23.2K posts
- 16. ryan murphy 7,427 posts
- 17. #FursuitFriday 13.4K posts
- 18. Candy 243K posts
- 19. Ridiculousness 5,923 posts
- 20. YTTV 2,301 posts
คุณอาจชื่นชอบ
Something went wrong.
Something went wrong.
 
                                                 
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                