time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

_asciiSize.js (271B)


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