blob: 1edda7ac45d822b9f7a8f5674055e5788c92d40f [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: >
The prototype of RangeError instances is RangeError.prototype.
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.getPrototypeOf(new RangeError), RangeError.prototype);