javascript eval
淡淡烟草味
淡淡烟草味 2017-07-05 11:02:32
0
2
768

An object is defined in the module, such as: let a = {}, how can we find the object a through the string 'a'?

淡淡烟草味
淡淡烟草味

reply all(2)
为情所困
// eval不好吗
var a = {b:1};
var str = 'a';
console.log(eval(str))
我想大声告诉你

Search locally or globally

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template