cocoscreator 映射怎么通过字符串设置变量

  • Creator 版本:2.3.2

  • 目标平台:web

  • 出现概率:100

  • 额外线索:js是有映射的eval

怎么通过字符串设置变量,又怎么根据字符串映射对应命名的变量?