📅  最后修改于: 2022-03-11 15:01:36.491000             🧑  作者: Mango
// Warning: Executing JavaScript from a string is an enormous security risk.
// It is far too easy for a bad actor to run arbitrary code when you use eval()
// Example
console.log(eval('2 + 2')); // 4