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