blob: d5cd43dbfacf62a6b34cce55e476e90890cabb7f [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.3
description: >
EvalError.prototype is not an error object instance.
info: |
Each NativeError prototype object is an ordinary object. It is not an
Error instance and does not have an [[ErrorData]] internal slot.
---*/
assert.sameValue(Object.prototype.toString.call(EvalError.prototype), "[object Object]");