title: JSON.stringify and "\u2028\u2029" check?
body: <p>Sometimes I <a href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yI/r/-9bLNT3W5qB.js" rel="noreferrer">see</a> in a view source page ( html view source) this code: </p>
  
  <pre><code>if (JSON.stringify(["\u2028\u2029"]) === '["\u2028\u2029"]') JSON.stringify = function (a) {
      var b = /\u2028/g,
          c = /\u2029/g;
      return function (d, e, f) {
          var g = a.call(this, d, e, f);
          if (g) {
              if (-1 &lt; g.indexOf('\u2028')) g = g.replace(b, '\\u2028');
              if (-1 &lt; g.indexOf('\u2029')) g = g.replace(c, '\\u2029');
          }
          return g;
      };
  }(JSON.stringify);
  </code></pre>
  
  <ul>
  <li>What is the problem with <code>JSON.stringify(["\u2028\u2029"])</code> that it needs to be checked ?</li>
  </ul>
  
  <p>Additional info : </p>
  
  <ul>
  <li><code>JSON.stringify(["\u2028\u2029"])</code> value is  <code>"["  "]"</code></li>
  <li><code>'["\u2028\u2029"]'</code> value is also <code>"["  "]"</code></li>
  </ul>