revocation-function-extensible.js (547B)
1 // Copyright (C) 2015 André Bargull. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es6id: 26.2.2.1.1 6 description: The [[Extensible]] slot of Proxy Revocation functions 7 info: | 8 17 ECMAScript Standard Built-in Objects: 9 Unless specified otherwise, the [[Extensible]] internal slot 10 of a built-in object initially has the value true. 11 features: [Proxy] 12 ---*/ 13 14 var revocationFunction = Proxy.revocable({}, {}).revoke; 15 16 assert(Object.isExtensible(revocationFunction)); 17 18 reportCompare(0, 0);