arr[arr.length] = value;
obj["age"] = 17
or obj.age = 17. var obj = new Object();
or var obj = {}; for, while, do-while loops, but no foreach.
It’s a number in JavaScript, derived by dividing negative number by zero.
Return true if the argument is not a number.
Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16);
ECMAScript is yet another name for JavaScript (other names include LiveScript). The current JavaScript that you see supported in browsers is ECMAScript revision 3.
|