Sign in
webkit
/
WebKit
/
3edaba2ba8773ca7f680c84dc462d786504282f8
/
.
/
JSTests
/
stress
/
array-tolocalestring-empty-separator.js
blob: 44769800d248fbd1a09744a7f9a349fd3b44f9c8 [
file
] [
log
] [
blame
]
function
shouldBe
(
actual
,
expected
)
{
if
(
actual
!==
expected
)
throw
new
Error
(
'bad value: '
+
actual
);
}
shouldBe
([].
toLocaleString
(),
``);
shouldBe
([
42
].
toLocaleString
(
'en'
,
{
numberingSystem
:
'hanidec'
}),
`四二`);