(codepoint)
| 54 | ]; |
| 55 | |
| 56 | function IsSurrogate(codepoint) { |
| 57 | return 0xD800 <= codepoint && codepoint <= 0xDFFF |
| 58 | } |
| 59 | function HasIsolatedSurrogate(str) { |
| 60 | for (let codepoint of str) { |
| 61 | let value = codepoint.codePointAt(0); |
no outgoing calls
no test coverage detected