TypeScript/tests/baselines/reference/alwaysStrictES6.js
Slawomir Sadziak 29a85e02ab Fix #10758 Add compiler option to parse in strict mode
* add compiler option alwaysStrict
 * compile in strict mode when option is set
 * emit "use strict"
2016-10-10 00:03:33 +02:00

12 lines
158 B
TypeScript

//// [alwaysStrictES6.ts]
function f() {
var arguments = [];
}
//// [alwaysStrictES6.js]
"use strict";
function f() {
var arguments = [];
}