blob: adac2357997df0e61805b759f9b0bd9be2d57b47 [file] [log] [blame]
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 8.7.2-3-a-2gs
description: >
Strict Mode - 'runtime' error is thrown before LeftHandSide
evaluates to an unresolvable Reference
flags: [onlyStrict]
---*/
assert.throws(Test262Error, function() {
throw new Test262Error();
b = 11;
});