es7.string.at.js 239 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 'use strict'; // https://github.com/mathiasbynens/String.prototype.at var $export = require('./_export'); var $at = require('./_string-at')(true); $export($export.P, 'String', { at: function at(pos) { return $at(this, pos); } });