@newdash/newdash
Version:
javascript/typescript utility library
14 lines (13 loc) • 314 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Gets the size of an ASCII `string`.
*
* @private
* @param {string} string The string inspect.
* @returns {number} Returns the string size.
*/
function asciiSize({ length }) {
return length;
}
exports.default = asciiSize;