Sign in
webkit
/
WebKit
/
60c3f717a9141a0f8afd6e8437d26c6404e4424c
/
.
/
JSTests
/
stress
/
super-call-function-subclass.js
blob: 375c00996e8ed7b432946ffd463d8f24c198a9c5 [
file
] [
log
] [
blame
]
function
assert
(
a
)
{
if
(!
a
)
throw
new
Error
(
"Bad"
);
}
class
A extends
Function
{
t
()
{
super
.
call
(
this
);
return
3
;
}
}
let a
=
new
A
();
assert
(
a
.
t
()
==
3
);