title: JavaScript - How can I test the equality of WeakSet?
body: <p>Is there a way to test if two (or more) WeakSets are equal?
  So, I want this code to print out true</p>
  <pre class="lang-js prettyprint-override"><code>var a = new WeakSet();
  var b = new WeakSet();
  a.add([3]);
  b.add([3]);
  console.log(isEqual(a, b)); // -&gt; true
  </code></pre>