The introduction of strict mode aims to avoid common coding problems in ECMAScript applications. This is achieved with the presence of a lone string literal in a unit (script or function):
"use strict;"
JavaScript & MySQL With Jaxer - 0 views
-
Wouldn't it be cool if you could work with MySQL within your JavaScript code? Think about it, you wouldn't have to spend extra time writing extra server-side code for connecting to, querying, and parsing results, you could just write a little bit more code in your JavaScript and be done with it. Of course, we wouldn't want any of this SQL exposed to the end-user, as that would be a major security issue, but what if that problem was solved as well? You might also raise the point that you'd still need the ability to prepare your SQL statements that take dynamic input to prevent SQL injection attacks, but if that weren't an issue, wouldn't that be awesome as well?
Chickenfoot - 0 views
CoScripter - 0 views
passpack - Google Code - 0 views
InfoQ: ECMAScript 5 released - 1 views
-
-
for either the entire script (if at the top of the script) or for a single function (if the first part of a function).
-
var i=3 is needed
- ...10 more annotations...
1 - 7 of 7
Showing 20▼ items per page