Jrunscript has a function 'print'. However, it does not print anything useful about objects. For instance:
js> var obj = {one:1, two:2}
When evaluating an object, Jrunscriptonly this is displayed:
js> obj
[object Object]
And 'print'also not good:
js> print(obj)
[object Object]js>
What functions Jrunscriptcan be used to print the structure of an object?
source
share