Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
339 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | var $ = require('../internals/export');
|
---|
| 3 | var codeAt = require('../internals/string-multibyte').codeAt;
|
---|
| 4 |
|
---|
| 5 | // `String.prototype.codePointAt` method
|
---|
| 6 | // https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
---|
| 7 | $({ target: 'String', proto: true }, {
|
---|
| 8 | codePointAt: function codePointAt(pos) {
|
---|
| 9 | return codeAt(this, pos);
|
---|
| 10 | }
|
---|
| 11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.