blob: 6e87ad471a519d34e108e604435f929a5b3cb114 [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.4
description: >
RangeError instances have an [[ErrorData]] internal slot.
info: |
NativeError instances are ordinary objects that inherit properties
from their NativeError prototype object and have an [[ErrorData]]
internal slot whose value is undefined
---*/
assert.sameValue(Object.prototype.toString.call(new RangeError), "[object Error]");