js把字符串转换成变量var str = "win"eval("var " + str)console.log(win)eval(str+"=3") console.info(win)[javascri2023-04-29JavaScript250