Skip to content

Commit 36ebbde

Browse files
committed
README: Tweak require instructions
1 parent 1b07598 commit 36ebbde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ npm install string.prototype.codepointat
2525
Then, in [Node.js](http://nodejs.org/):
2626

2727
```js
28+
require('string.prototype.codepointat');
29+
30+
// On Windows and on Mac systems with default settings, case doesn’t matter,
31+
// which allows you to do this instead:
2832
require('String.prototype.codePointAt');
2933
```
3034

0 commit comments

Comments
 (0)