zotero/zotero — pull request #86 by aurimasv (2012-03-17 01:12:48+00:00)
Title: varDump with parent object tracking

And some formatting tweaks. You guys might think this is overkill, and it probably is.

For something like
```javascript
var a = {
b: 'hi',
c: [ 1, 2, 3, 4 ],
d: a,
e: { f: {g: {h: {i: {j: 5}}}}},
f: {},
g: 6
};
Z.debug(ZU.varDump(a));
```
Outputs
```javascript
'b' => "hi"
'c' => [
'0' => 1
'1' => 2
'2' => 3
'3' => 4
]
'd' => "undefined"
'e' => {
'f' => {
'g' => {
'h' => {
'i' => {
<>...
}
}
}
}
}
'f' => {}
'g' => 6
```