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' }), `四二`);