| 1 |
// Copyright (C) 2016 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
esid: sec-properties-of-the-dataview-constructor |
| 6 |
es6id: 24.2.3 |
| 7 |
description: > |
| 8 |
The prototype of DataView is Function.prototype |
| 9 |
info: | |
| 10 |
The value of the [[Prototype]] internal slot of the DataView constructor is |
| 11 |
the intrinsic object %FunctionPrototype%. |
| 12 |
---*/ |
| 13 |
|
| 14 |
assert.sameValue(Object.getPrototypeOf(DataView), Function.prototype); |