blob: 7cca2dc1e8487ed56d0c69a52cdfe6190f7480ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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: >
TypeError.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(TypeError.prototype), "[object Object]");
reportCompare(0, 0);
|