mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 00:37:33 -04:00
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
|
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;
|