title: Does activiti override some function of javascript?
body: <p>Did anyone try to customize activiti-explorer and meet an issue that some functions of javascript were overrided?</p>
  
  <p>example: </p>
  
  <pre><code>var a = {test: [1,2,3]}
  JSON.stringify(a);
  </code></pre>
  
  <p>The output will be :</p>
  
  <pre><code>"{"test":"[1, 2, 3]"}"
  </code></pre>
  
  <p>But, when I tried on other page (empty page on chrome) with the same code above, the output will be</p>
  
  <pre><code>"{"test":[1,2,3]}"
  </code></pre>
  
  <p>(don't have double quote around array). So when I tried $http.post an object which contain array inside, the server received as string instead of array.</p>
  
  <p>Other functions such as reduce (array.reduce in ES6) also have different result with other page.</p>
  
  <p>any ideas?</p>
  
  <p>=== edited ==</p>
  
  <p>When I tried to call</p>
  
  <pre><code>delete Array.prototype.toJSON
  </code></pre>
  
  <p>before call <code>JSON.stringify(a);</code>, the result is correctly.
  But, I'm not sure it is a solution, because i don't know what impact to current app.</p>