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