_asciiSize.js 271 B

12345678910111213
  1. var baseProperty = require('./_baseProperty');
  2. /**
  3. * Gets the size of an ASCII `string`.
  4. *
  5. * @private
  6. * @param {string} string The string inspect.
  7. * @returns {number} Returns the string size.
  8. */
  9. var asciiSize = baseProperty('length');
  10. module.exports = asciiSize;