Lines Matching refs:codePointAt

10 assertEquals(String.prototype.codePointAt.length, 1);
14 assertEquals("abc\uD834\uDF06def".codePointAt(""), 0x61);
15 assertEquals("abc\uD834\uDF06def".codePointAt("_"), 0x61);
16 assertEquals("abc\uD834\uDF06def".codePointAt(), 0x61);
17 assertEquals("abc\uD834\uDF06def".codePointAt(-Infinity), undefined);
18 assertEquals("abc\uD834\uDF06def".codePointAt(-1), undefined);
19 assertEquals("abc\uD834\uDF06def".codePointAt(-0), 0x61);
20 assertEquals("abc\uD834\uDF06def".codePointAt(0), 0x61);
21 assertEquals("abc\uD834\uDF06def".codePointAt(3), 0x1D306);
22 assertEquals("abc\uD834\uDF06def".codePointAt(4), 0xDF06);
23 assertEquals("abc\uD834\uDF06def".codePointAt(5), 0x64);
24 assertEquals("abc\uD834\uDF06def".codePointAt(42), undefined);
25 assertEquals("abc\uD834\uDF06def".codePointAt(Infinity), undefined);
26 assertEquals("abc\uD834\uDF06def".codePointAt(Infinity), undefined);
27 assertEquals("abc\uD834\uDF06def".codePointAt(NaN), 0x61);
28 assertEquals("abc\uD834\uDF06def".codePointAt(false), 0x61);
29 assertEquals("abc\uD834\uDF06def".codePointAt(null), 0x61);
30 assertEquals("abc\uD834\uDF06def".codePointAt(undefined), 0x61);
33 assertEquals("\uD834\uDF06def".codePointAt(""), 0x1D306);
34 assertEquals("\uD834\uDF06def".codePointAt("1"), 0xDF06);
35 assertEquals("\uD834\uDF06def".codePointAt("_"), 0x1D306);
36 assertEquals("\uD834\uDF06def".codePointAt(), 0x1D306);
37 assertEquals("\uD834\uDF06def".codePointAt(-1), undefined);
38 assertEquals("\uD834\uDF06def".codePointAt(-0), 0x1D306);
39 assertEquals("\uD834\uDF06def".codePointAt(0), 0x1D306);
40 assertEquals("\uD834\uDF06def".codePointAt(1), 0xDF06);
41 assertEquals("\uD834\uDF06def".codePointAt(42), undefined);
42 assertEquals("\uD834\uDF06def".codePointAt(false), 0x1D306);
43 assertEquals("\uD834\uDF06def".codePointAt(null), 0x1D306);
44 assertEquals("\uD834\uDF06def".codePointAt(undefined), 0x1D306);
47 assertEquals("\uD834abc".codePointAt(""), 0xD834);
48 assertEquals("\uD834abc".codePointAt("_"), 0xD834);
49 assertEquals("\uD834abc".codePointAt(), 0xD834);
50 assertEquals("\uD834abc".codePointAt(-1), undefined);
51 assertEquals("\uD834abc".codePointAt(-0), 0xD834);
52 assertEquals("\uD834abc".codePointAt(0), 0xD834);
53 assertEquals("\uD834abc".codePointAt(false), 0xD834);
54 assertEquals("\uD834abc".codePointAt(NaN), 0xD834);
55 assertEquals("\uD834abc".codePointAt(null), 0xD834);
56 assertEquals("\uD834abc".codePointAt(undefined), 0xD834);
59 assertEquals("\uDF06abc".codePointAt(""), 0xDF06);
60 assertEquals("\uDF06abc".codePointAt("_"), 0xDF06);
61 assertEquals("\uDF06abc".codePointAt(), 0xDF06);
62 assertEquals("\uDF06abc".codePointAt(-1), undefined);
63 assertEquals("\uDF06abc".codePointAt(-0), 0xDF06);
64 assertEquals("\uDF06abc".codePointAt(0), 0xDF06);
65 assertEquals("\uDF06abc".codePointAt(false), 0xDF06);
66 assertEquals("\uDF06abc".codePointAt(NaN), 0xDF06);
67 assertEquals("\uDF06abc".codePointAt(null), 0xDF06);
68 assertEquals("\uDF06abc".codePointAt(undefined), 0xDF06);
71 String.prototype.codePointAt.call(undefined); method in String
74 String.prototype.codePointAt.call(undefined, 4); method in String
77 String.prototype.codePointAt.call(null); method in String
80 String.prototype.codePointAt.call(null, 4); method in String
82 assertEquals(String.prototype.codePointAt.call(42, 0), 0x34);
83 assertEquals(String.prototype.codePointAt.call(42, 1), 0x32);
84 assertEquals(String.prototype.codePointAt.call({
88 assertEquals(String.prototype.codePointAt.call({