title: Confused about json value with foward slashes
body: <p>I was configuring webpack, and I saw something I am very confused about and cannot figure out.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>x = {
    test: /\\.css$/
  }
  
  console.log(x);
  console.log(JSON.stringify(x));</code></pre>
  </div>
  </div>
  </p>
  <p>I just don't understand how '/\.css$/' is a valid value, why is it not in quotes? Can someone tell me what is going on here? I suspect it is not a json thing but a javascript thing.. but can someone enlighten me?</p>
  <p>Thanks</p>