Sign in
webkit
/
WebKit
/
4ba7fe936ef6ae9d62102c8eed5d38ba3f6d5cc4
/
.
/
JSTests
/
es6
/
arrow_functions_lexical_new.target_binding.js
blob: 3a5c96f8bc9697925957203de39449ab07aca972 [
file
] [
log
] [
blame
]
function
test
()
{
function
C
()
{
return
x
=>
new
.
target
;
}
return
new
C
()()
===
C
&&
C
()()
===
undefined
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);