Interesting collection for JS codes - more intuitive...
I liked the hints for 'variable conversion', 'replace()' and 'createDocumentFragment'. However the interesting part was the mechanisms JS version need to be detected...
The surprising part is the 'trimLeft' (may be 'trimRight' as well) is introduced in JS 1.8.1 version only!
Even more surprising part is only Firefox has browsers to support all the JS versions upto date. Every other browser lags way behind Firefox including GoogleChrome and IE8. http://en.wikipedia.org/wiki/ JavaScript#Versions
- I am a fan of FF! :)
in reference to: 10 Small Things You May Not Know About Javascript | samuli.hakoniemi.net (view on Google Sidewiki)
I liked the hints for 'variable conversion', 'replace()' and 'createDocumentFragment'. However the interesting part was the mechanisms JS version need to be detected...
The surprising part is the 'trimLeft' (may be 'trimRight' as well) is introduced in JS 1.8.1 version only!
Even more surprising part is only Firefox has browsers to support all the JS versions upto date. Every other browser lags way behind Firefox including GoogleChrome and IE8. http://en.wikipedia.org/wiki/
- I am a fan of FF! :)
in reference to: 10 Small Things You May Not Know About Javascript | samuli.hakoniemi.net (view on Google Sidewiki)
No comments:
Post a Comment