summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/core.js1
-rw-r--r--core/core_test.js1
-rw-r--r--core/encode_decode_test.js1
-rw-r--r--core/error.js1
4 files changed, 4 insertions, 0 deletions
diff --git a/core/core.js b/core/core.js
index 5a15aff8c..57eb8b07e 100644
--- a/core/core.js
+++ b/core/core.js
@@ -15,6 +15,7 @@ SharedQueue Binary Layout
| RECORDS (*MAX_RECORDS) ...
+---------------------------------------------------------------+
*/
+"use strict";
((window) => {
const MAX_RECORDS = 100;
diff --git a/core/core_test.js b/core/core_test.js
index 58dff73ac..89385a0aa 100644
--- a/core/core_test.js
+++ b/core/core_test.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
function assert(cond) {
if (!cond) {
diff --git a/core/encode_decode_test.js b/core/encode_decode_test.js
index dcdb82d8e..85f787fdc 100644
--- a/core/encode_decode_test.js
+++ b/core/encode_decode_test.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
function assert(cond) {
if (!cond) {
throw Error("assert");
diff --git a/core/error.js b/core/error.js
index 300599666..b47e5d881 100644
--- a/core/error.js
+++ b/core/error.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
// Some of the code here is adapted directly from V8 and licensed under a BSD