|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
285 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var charAt = require('../internals/string-multibyte').charAt;
|
|---|
| 3 |
|
|---|
| 4 | // `AdvanceStringIndex` abstract operation
|
|---|
| 5 | // https://tc39.es/ecma262/#sec-advancestringindex
|
|---|
| 6 | module.exports = function (S, index, unicode) {
|
|---|
| 7 | return index + (unicode ? charAt(S, index).length || 1 : 1);
|
|---|
| 8 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.