我試圖將代碼添加到腳本,但它只是不工作如何我添加代碼到<script></script>
var script= document.createElement('script');
script.type= 'text/javascript';
script.textContent = var Module = {
TOTAL_MEMORY: 536870912,
errorhandler: null,
compatibilitycheck: null,
dataUrl: "Release/Arctopia_Path_Monopoly_v1.1.1GL.data",
codeUrl: "Release/Arctopia_Path_Monopoly_v1.1.1GL.js",
memUrl: "Release/Arctopia_Path_Monopoly_v1.1.1GL.mem",
};
script.async = true;
document.body.appendChild(script);