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