/** * @module 1-liners/charCodeAt * * @description * * Same as `'STR'.charCodeAt(0)`. * * @example * * const charCodeAt = require('1-liners/charCodeAt'); * * charCodeAt(0, 'super') // => 115 * */ "use strict"; exports.__esModule = true; exports["default"] = function (index, str) { return str.charCodeAt(index); }; module.exports = exports["default"];