haikuwebkit/JSTests/es6/miscellaneous_String.protot...

10 lines
154 B
JavaScript

function test() {
return "𐐘".toLowerCase() === "𐑀" && "𐑀".toUpperCase() === "𐐘";
}
if (!test())
throw new Error("Test failed");