source: imaps-frontend/node_modules/core-js/full/instance/code-points.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 400 bytes
Line 
1'use strict';
2var isPrototypeOf = require('../../internals/object-is-prototype-of');
3var method = require('../string/virtual/code-points');
4
5var StringPrototype = String.prototype;
6
7module.exports = function (it) {
8 var own = it.codePoints;
9 return typeof it == 'string' || it === StringPrototype
10 || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.codePoints) ? method : own;
11};
Note: See TracBrowser for help on using the repository browser.