src code

instance method Array#inspect

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]"