Closed Bug 566601 Opened 15 years ago Closed 8 years ago

Request for "use strict" JSOPTION_

Categories

(Core :: JavaScript Engine, enhancement)

1.9.2 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 736792

People

(Reporter: wes, Unassigned)

Details

There is currently no way in JSAPI to request strict mode code without modifying the input script. Adding a JSOPTION_STRICT_MODE_CODE option, which makes the byte code compiler behave as though the first statement of every compilation were "use strict" would be really handy.
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.