3 ms·
You can in JavaScript but you almost certainly don't want to when you can just use JSON.parse and avoid the possibility of the execution of arbitrary code.
by michaelmior 5y ago
You can in JavaScript but you almost certainly don't want to when you can just use JSON.parse and avoid the possibility of the execution of arbitrary code.
- jbverschoor 5y agoI'm not saying it's a good idea. Javascript itself has many bad ideas. I'm just saying that's where it all started.