Friday 15 June 2018

Comparing native javascript objects with jQuery







I have two native JavaScript objects:



var foo = { hello: 'world', holy: { shit: 'batman' } };

var bar = { ... };


I would like to compare the two (foo == bar).

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...