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
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||
GeezerVison is showing github.com — JYcoding-Blog/node_modules/code-point-at at master · zhonghanyong/JYcoding-Blog Expand file tree/ Copy pathcode-point-at/Directory actionsMore optionsMore optionsDirectory actionsMore optionsMore options/ Copy pathcode-point-at/Folders and files
readme.mdOutline
var codePointAt = require('code-point-at'); codePointAt('🐴'); //=> 128052 codePointAt('abc', 2); //=> 99 MIT © Sindre Sorhus | |||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||