Can you give me an example where that would exist? 

In any case the toString() that was being called was basically this code except the regex was /['"]/g so I can't think how this would be any worse.