Sep 25, 2019 No Comments es6 模板字符串 new Function let str = `return new ${sceneName}.${sceneName.charAt(0).toUpperCase() + sceneName.slice(1)}` let func = new Function(str); 继续阅读 »