Fix #10758 Add compiler option to parse in strict mode

* add unit test to ensure "use strict" is not added twice
 * fix code
This commit is contained in:
Slawomir Sadziak
2016-10-10 12:15:34 +02:00
parent 29a85e02ab
commit ea808f52fe
6 changed files with 66 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
// @alwaysStrict: true
"use strict"
function f() {
var a = [];
}