forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodePointAt.baseline
More file actions
28 lines (28 loc) · 1.38 KB
/
codePointAt.baseline
File metadata and controls
28 lines (28 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
TypeError: String.prototype.codePointAt: 'this' is null or undefined
TypeError: String.prototype.codePointAt: 'this' is null or undefined
TypeError: String.prototype.codePointAt: 'this' is null or undefined
TypeError: Function is not a constructor
TypeError: Function is not a constructor
RangeError: Invalid code point 1.1
RangeError: Invalid code point 100000000
RangeError: Invalid code point -0.0001
RangeError: Invalid code point
Passed! Size = 0, index 0 test.
Passed! Size = 1, index -1 test.
Passed! Simple character test.
Passed! Surrogate pair treated as a single code point.
Passed! Index pointing to a second surrogate code unit returns the value of that code unit.
Passed! Partial surrogate code unit.
Passed! First surrogate code unit not in range [D800-DBFF].
Passed! First surrogate code unit not in range [D800-DBFF].
Passed! First surrogate code unit min value.
Passed! First surrogate code unit min value.
Passed! First surrogate code unit max value.
Passed! First surrogate code unit max value.
Passed! Second surrogate code unit not in range [DC00-DFFF].
Passed! Second surrogate code unit not in range [DC00-DFFF].
Passed! Second surrogate code unit min value.
Passed! Second surrogate code unit min value.
Passed! Second surrogate code unit max value.
Passed! Second surrogate code unit max value.
Passed! Calling on a number object instead of string object.