Sign in
webkit
/
WebKit
/
e0f5f32b82f576e50c4ce4b81eede6e14ad0d44f
/
.
/
JSTests
/
es6
/
Promise_Promise[Symbol.species].js
blob: 6d3eaadbac539dd97925547df9c96e6864b4cae5 [
file
] [
log
] [
blame
]
function
test
()
{
var
prop
=
Object
.
getOwnPropertyDescriptor
(
Promise
,
Symbol
.
species
);
return
'get'
in prop
&&
Promise
[
Symbol
.
species
]
===
Promise
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);