내가 좋아할 만한 콘텐츠
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. #PeachandPablo 1,476 posts
- 2. #WLRDeluxe 12.5K posts
- 3. Kansas 29K posts
- 4. Missouri 12.5K posts
- 5. Arrowhead 9,356 posts
- 6. Greenland 55K posts
- 7. Vince Zampella 45.9K posts
- 8. Trump Class 16.6K posts
- 9. Golden Fleet 7,974 posts
- 10. Postage 1,679 posts
- 11. Battleships 15.8K posts
- 12. Call of Duty 45.6K posts
- 13. Thomas Bryant N/A
- 14. 49ers 30.7K posts
- 15. McNeil 7,153 posts
- 16. Clark Hunt 2,188 posts
- 17. USS Defiant 3,816 posts
- 18. Quilted N/A
- 19. #ForTheShoe N/A
- 20. KCMO N/A
내가 좋아할 만한 콘텐츠
Something went wrong.
Something went wrong.