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 […]