caoge c760052ff9 机车状态修改 | il y a 7 mois | |
---|---|---|
.. | ||
index.js | il y a 7 mois | |
license | il y a 7 mois | |
package.json | il y a 7 mois | |
readme.md | il y a 7 mois |
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