name.js (455B)
1 // |reftest| skip-if(!this.hasOwnProperty('AsyncIterator')) -- AsyncIterator is not enabled unconditionally 2 /*--- 3 The "name" property of AsyncIterator 4 ---*/ 5 6 const propDesc = Reflect.getOwnPropertyDescriptor(AsyncIterator, 'name'); 7 assertEq(propDesc.value, 'AsyncIterator'); 8 assertEq(propDesc.writable, false); 9 assertEq(propDesc.enumerable, false); 10 assertEq(propDesc.configurable, true); 11 12 if (typeof reportCompare === 'function') 13 reportCompare(0, 0);