* add compiler option alwaysStrict * compile in strict mode when option is set * emit "use strict"
12 lines
158 B
TypeScript
12 lines
158 B
TypeScript
//// [alwaysStrictES6.ts]
|
|
|
|
function f() {
|
|
var arguments = [];
|
|
}
|
|
|
|
//// [alwaysStrictES6.js]
|
|
"use strict";
|
|
function f() {
|
|
var arguments = [];
|
|
}
|