lodash and immutable which is the best way to compare two objects
<p>I follow <code>lodash</code> and <code>immutable</code> to compare two objects property value.</p>

<p><strong>lodash</strong></p>

<pre><code>var _ = require('lodash');

var foo = {1: 2};
var bar = {1: 2};
_.isEqual(foo, bar);
</code></pre>

<p><strong>immutable</strong></p>

<pre><code>var Immutable = require('immutable');

var foo = {1: 2};
var bar = {1: 2};

map1 = Immutable.Map(foo);
map2 = Immutable.Map(bar);

map1.equals(map2);
</code></pre>

<p>all above code works well, but I don't know which is more faster way to check objects' property value.</p>

<p>thanks for your time.</p>

<p>regards.</p>