prop-desc.js (587B)
1 // Copyright 2015 Jordan Harband. All rights reserved. 2 // See LICENSE for details. 3 4 /*--- 5 es6id: 25.4.4.5_A1.2_T1 6 author: Jordan Harband 7 description: Promise.resolve should be non-enumerable 8 info: | 9 ES6 Section 17 10 11 Every other data property described in clauses 18 through 26 and in Annex 12 B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, 13 [[Configurable]]: true } unless otherwise specified. 14 includes: [propertyHelper.js] 15 ---*/ 16 17 verifyProperty(Promise, 'resolve', { 18 writable: true, 19 enumerable: false, 20 configurable: true 21 }); 22 23 reportCompare(0, 0);