Emmanuil 67a2fbe5b9 done | 4 gadi atpakaļ | |
---|---|---|
.. | ||
index.js | 4 gadi atpakaļ | |
license | 4 gadi atpakaļ | |
package.json | 4 gadi atpakaļ | |
readme.md | 4 gadi atpakaļ |
ES2015
String#codePointAt()
ponyfill
$ npm install --save code-point-at
var codePointAt = require('code-point-at');
codePointAt('🐴');
//=> 128052
codePointAt('abc', 2);
//=> 99
MIT © Sindre Sorhus