Sha256: 50621b46215ef71a473700415d98747faab0d21520a4bb41b9eb3a78f45b5b15

Contents?: true

Size: 280 Bytes

Versions: 15

Compression:

Stored size: 280 Bytes

Contents

'use strict';
var charAt = require('../internals/string-multibyte').charAt;

// `AdvanceStringIndex` abstract operation
// https://tc39.es/ecma262/#sec-advancestringindex
module.exports = function (S, index, unicode) {
  return index + (unicode ? charAt(S, index).length : 1);
};

Version data entries

15 entries across 14 versions & 4 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/internals/advance-string-index.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/internals/advance-string-index.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/internals/advance-string-index.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/internals/advance-string-index.js
disco_app-0.16.1 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.15.2 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.18.4 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.18.1 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.14.0 test/dummy/node_modules/core-js/internals/advance-string-index.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/core-js/internals/advance-string-index.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/core-js/internals/advance-string-index.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/core-js/internals/advance-string-index.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/core-js/internals/advance-string-index.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/core-js/internals/advance-string-index.js