You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
271 B

4 years ago
  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;