blob: 476e4d360c94b74b37678320a2196adb15d3b092 [file] [log] [blame]
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 19.5.6.2.1
description: >
The initial value of EvalError.prototype is the EvalError prototype object.
info: |
The initial value of NativeError.prototype is a NativeError prototype object (19.5.6.3).
Each NativeError constructor has a distinct prototype object.
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
---*/
assert.sameValue(EvalError.prototype, Object.getPrototypeOf(new EvalError));
verifyNotEnumerable(EvalError, "prototype");
verifyNotWritable(EvalError, "prototype");
verifyNotConfigurable(EvalError, "prototype");