Debian Codegraph @

js/src/tests/test262/built-ins/DataView/proto.js

raw
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 description: >
7 The prototype of DataView is Function.prototype
8 info: |
9 The value of the [[Prototype]] internal slot of the DataView constructor is
10 the intrinsic object %FunctionPrototype%.
11 ---*/
12
13 assert.sameValue(Object.getPrototypeOf(DataView), Function.prototype);
14
15 reportCompare(0, 0);