John Resig (of jQuery fame) has released 10 days ago a Javascript implementation of Processing, a Java based visualization language. Read more …
I recently came across an interesting page called ‘Types’ in the documentation of my favorite Javascript library, jQuery. It is a brief summary of Javascript language properties, and a very good read that reveals many little known quirks that this untraditional language offers.
One thing in particular caught my attention - the type of the NaN (Not A Number) language value, is surprisingly enough, a number. Try it, write a simple script alerting the typeof of NaN:
var isNumber = NaN; alert(typeof(isNumber)); // Alerts 'number'
Just another thing to keep you on your toes when working with Javascript ![]()
Modern web-sites and web-application make heavy use of Javascript to improve the user experience. To further improve the user experience, I’d like to propose a simple caching mechanism.
2008 - The Future