inspect :: Hash

inspect() -> String

 

Returns the debug-oriented string representation of the hash.

 

For more information on inspect methods, see Object.inspect.

 

Examples

 

$H({ name: 'Prototype', version: 1.5 }).inspect()

// -> "<#Hash:{name: 'Prototype', version: 1.5}>" // Order not guaranteed

 


Prototype API 1.5.0 - prototypejs.org