Sign in
webkit
/
WebKit
/
1f10227393c9dc21c9d2643241b56515c886ce78
/
.
/
JSTests
/
stress
/
object-is-sealed-accept-non-object.js
blob: 08d5e60afd6a761d55b74c5893c2e6b6035dd1cb [
file
] [
log
] [
blame
]
var
primitives
=
[
"string"
,
42
,
null
,
undefined
,
Symbol
(
"symbol"
),
true
,
false
];
for
(
var
primitive of primitives
)
{
var
ret
=
Object
.
isSealed
(
primitive
);
if
(
ret
!==
true
)
throw
new
Error
(
"bad value: "
+
String
(
ret
));
}