You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
12 months ago
|
var baseProperty = require('./_baseProperty');
|
||
|
|
||
|
/**
|
||
|
* Gets the size of an ASCII `string`.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {string} string The string inspect.
|
||
|
* @returns {number} Returns the string size.
|
||
|
*/
|
||
|
var asciiSize = baseProperty('length');
|
||
|
|
||
|
module.exports = asciiSize;
|