8 lines
180 B
JavaScript
8 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;
|
|
};
|