title: localStorage and boolean 'string'
body: <p>Storing boolean value in localStorage, this value is converted to string.
  Now trying to converting back this value from localStorage to boolean, i need to use <code>JSON.parse()</code> method, the more handy <code>!!</code> doesn't work.</p>
  <p>Code sample:</p>
  <pre><code>var test = false;
  localStorage['test'] = test;
  console.log(&quot;JSON.parse returns: &quot;, JSON.parse(localStorage['test']), &quot;expected: &quot;, test);
  console.log(&quot;'!!' returns: &quot;, !! localStorage['test'], &quot;expected: &quot;, test);
  </code></pre>
  <p><a href="http://jsfiddle.net/66y0bmx1/" rel="noreferrer"><h2>-jsFiddle-</h2></a></p>
  <p>I'm quite confused why this behaviour. Any explaination?</p>
  <p>PS: using getter/setter localStorage methods doesn't matter here, same result.</p>