Possible Duplicate:
Object comparison in JavaScript
I have two native JavaScript objects:
var foo = { hello: 'world', holy: { shit: 'batman' } };
var bar = { ... };
I would like to compare the two (foo == bar).
Possible Duplicate:
Object comparison in JavaScript
I have two native JavaScript objects:
var foo = { hello: 'world', holy: { shit: 'batman' } };
var bar = { ... };
I would like to compare the two (foo == bar).