es7.string.at.js 242 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') , $at = require('./$.string-at')(true); $export($export.P, 'String', { at: function at(pos){ return $at(this, pos); } });