proto.js (478B)
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-math-object 6 description: > 7 The prototype of Math is Object.prototype 8 info: | 9 The Math Object 10 11 The value of the [[Prototype]] internal slot of the Math object is the 12 intrinsic object %ObjectPrototype%. 13 ---*/ 14 15 var proto = Object.getPrototypeOf(Math); 16 17 assert.sameValue(proto, Object.prototype); 18 19 reportCompare(0, 0);