Comparing native javascript objects with jQuery

Viewed 10867

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).

2 Answers
Related