extensibility.js (627B)
1 // Copyright 2018 Igalia, S.L. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-Intl.RelativeTimeFormat 6 description: > 7 Intl.RelativeTimeFormat instance object extensibility 8 info: | 9 17 ECMAScript Standard Built-in Objects: 10 11 Unless specified otherwise, the [[Extensible]] internal slot 12 of a built-in object initially has the value true. 13 features: [Intl.RelativeTimeFormat] 14 ---*/ 15 16 assert.sameValue( 17 Object.isExtensible(new Intl.RelativeTimeFormat()), 18 true, 19 "Object.isExtensible(new Intl.RelativeTimeFormat()) returns true" 20 ); 21 22 reportCompare(0, 0);