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