Skip to content
Snippets Groups Projects
Commit 4fdbb349 authored by Aakash Patel's avatar Aakash Patel Committed by Rick Waldron
Browse files

Remove unnecessary uses of let in harness.

The use of `let` is unnecessary here, particularly in a
file that is needed to run any of the tests, even the ES5 tests.
Removing it allows older engines to run older tests.
parent 642d8837
No related branches found
No related tags found
No related merge requests found
......@@ -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);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment