normal-object.js (445B)
1 // Copyright (C) 2016 Jordan Harband. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 description: Object.getOwnPropertyDescriptors should produce a normal object inheriting from Object.prototype 6 esid: sec-object.getownpropertydescriptors 7 author: Jordan Harband 8 ---*/ 9 10 assert.sameValue( 11 Object.getPrototypeOf(Object.getOwnPropertyDescriptors({})), 12 Object.prototype 13 ); 14 15 reportCompare(0, 0);