summaryrefslogtreecommitdiff
path: root/harness
diff options
context:
space:
mode:
Diffstat (limited to 'harness')
-rw-r--r--harness/assert.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/harness/assert.js b/harness/assert.js
index 384b8e8f0..5fbc12254 100644
--- a/harness/assert.js
+++ b/harness/assert.js
@@ -88,8 +88,8 @@ assert.throws = function (expectedErrorConstructor, func, message) {
};
assert.throws.early = function(err, code) {
- let wrappedCode = 'function wrapperFn() { ' + code + ' }';
- let ieval = eval;
+ var wrappedCode = 'function wrapperFn() { ' + code + ' }';
+ var ieval = eval;
assert.throws(err, function() { Function(wrappedCode); }, 'Function: ' + code);
};