Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/js-interpreter.
Something went wrong. Try again.
123456789101112131415161718192021222324252627"use strict";
test("basic functionality", () => { expect(isStrictMode()).toBeTrue();
(function () { expect(isStrictMode()).toBeTrue(); })();
(() => { expect(isStrictMode()).toBeTrue(); })();
(() => { "use strict"; expect(isStrictMode()).toBeTrue(); })();
function a() { expect(isStrictMode()).toBeTrue(); }
a();
eval("expect(isStrictMode()).toBeTrue()");});