Blame view

node_modules/es5-ext/string/#/code-point-at/is-implemented.js 180 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
  "use strict";
  
  var str = "abc\uD834\uDF06def";
  
  module.exports = function () {
  	if (typeof str.codePointAt !== "function") return false;
  	return str.codePointAt(3) === 0x1D306;
  };