9 lines
180 B
JavaScript
9 lines
180 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var str = "abc\uD834\uDF06def";
|
||
|
|
||
|
module.exports = function () {
|
||
|
if (typeof str.codePointAt !== "function") return false;
|
||
|
return str.codePointAt(3) === 0x1D306;
|
||
|
};
|