1 // Copyright (C) 2015 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
7 The prototype of EvalError instances is EvalError.prototype.
9 NativeError instances are ordinary objects that inherit properties
10 from their NativeError prototype object and have an [[ErrorData]]
11 internal slot whose value is undefined
14 assert.sameValue(Object.getPrototypeOf(new EvalError), EvalError.prototype);