I saw on the web many discussions about “the best JavaScript editor”. This kind of discussions are quite like “the best PHP editor”. Neither of these two languages has a good editor as other languages like C++/Java. The difficulty in making a good PHP editor is that PHP codes are always mixed with HTML. And… Continue reading JSEclipse vs Aptana – Quest for the Best JavaScript Editor
Category: JavaScript
JavaScript Variables Notes
From: Core JavaScript 1.5 Guide:Variables – MDC Declaring a variable without “var” keyword always declares a global variable and generates generates a strict JavaScript warning. So don’t omit the “var” keyword. JavaScript does not have block statement scope; rather, it will be local to the code that the block resides within. In JavaScript you can… Continue reading JavaScript Variables Notes
JavaScript Type Conversion – A Quick Test
JavaScript is a dynamically typed language. To test your knowledge about this, here are some expressions: a = ’24’ – 3; b = ’24’ + 3; c = ’24’ – ‘3’; d = ’24’ + ‘3’; Now after executing this piece of code, what’s the values of a, b, c, and d? Numbers? Strings? Or… Continue reading JavaScript Type Conversion – A Quick Test