blob: 5b0e2acf91135aa18d33750f70e752733af0ca98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This test checks String.localeCompare().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS "a".localeCompare("aa") < 0 is true
PASS "a".localeCompare("b") < 0 is true
PASS "a".localeCompare("a") === 0 is true
PASS "ạ̈".localeCompare("ạ̈") === 0 is true
PASS "aa".localeCompare("a") > 0 is true
PASS "b".localeCompare("a") > 0 is true
PASS successfullyParsed is true
TEST COMPLETE
|