Strict mode applies stricter JavaScript semantics. For a non-arrow function called on its own, it makes `this` undefined rather than the global object, so mistaken property access fails clearly. A bound function keeps its explicitly bound context. section 6.2.1
A standalone call
In `ninja()`, a non-arrow function runs as a standalone function; in strict mode, its `this` value is undefined. section 6.2.1
Strict mode dates to ECMAScript 5. ECMAScript modules run in strict mode automatically; TypeScript and popular transpilers can also emit the `"use strict"` directive. section 6.2.1 section 2.1.1
function ninja(){}; #A
ninja(); #A
const samurai = function(){}; #B
samurai(); #B
(function(){})() #C
Compare several syntactic forms of standalone function invocation. section 6.2.1
"use strict";
setTimeout(200, () => {
console.log("This will never run.");
});
See the `use strict` directive in TypeScript compiler output. section 2.1.1

