Sign in
webkit
/
WebKit
/
fe3f8a9f58c921838bd3a920db5f85be838171cd
/
.
/
JSTests
/
stress
/
json-stringify-no-arguments.js
blob: 905ac253905510c2d92ca305c20fd17101fdbdb2 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
shouldBe
(
JSON
.
stringify
(),
undefined
);
shouldBe
(
JSON
.
stringify
(
undefined
),
undefined
);