is-implemented.js 180 B

12345678
  1. 'use strict';
  2. var str = 'abc\uD834\uDF06def';
  3. module.exports = function () {
  4. if (typeof str.codePointAt !== 'function') return false;
  5. return str.codePointAt(3) === 0x1D306;
  6. };