Sign in
webkit
/
WebKit
/
6ddc9d48eb4dde936b8551b5167248cba0f85d9c
/
.
/
JSTests
/
stress
/
date-symbol-toprimitive.js
blob: fb5ea3d574942907fd774294fef5b80188db74cf [
file
] [
log
] [
blame
]
delete
Date
.
prototype
[
Symbol
.
toPrimitive
]
let date
=
new
Date
();
if
(
typeof
(
date
+
1
)
!==
"number"
)
throw
"symbol was not deleted"
;