diff --git a/src/lang/array.js b/src/lang/array.js index a3e7b4e..671b975 100644 --- a/src/lang/array.js +++ b/src/lang/array.js @@ -291,6 +291,11 @@ Array.from = $A; * Array#inspect() -> String * * Returns the debug-oriented string representation of an array. + * + * ### Example + * + * ['Apples', {good: 'yes', bad: 'no'}, 3, 34].inspect() + * // -> "['Apples', [object Object], 3, 34]" **/ function inspect() { return '[' + this.map(Object.inspect).join(', ') + ']';