fc3c44a760632e71e8e09cdc3f993c0b1b29e1b2
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / modules / esnext.string.at.js
1 'use strict';
2 var $ = require('../internals/export');
3 var charAt = require('../internals/string-multibyte').charAt;
4
5 // `String.prototype.at` method
6 // https://github.com/mathiasbynens/String.prototype.at
7 $({ target: 'String', proto: true }, {
8   at: function at(pos) {
9     return charAt(this, pos);
10   }
11 });