Sign in
webkit
/
WebKit
/
e83748a3d986d861713edbad6b20589c06c9b99f
/
.
/
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"
;