代码如下
require('./libs/laya.core.js');
require('./libs/laya.html.js');
执行时,会报出错误
Uncaught TypeError: Cannot assign to read only property 'document' of object '#'
出错的句子是
function(global) {'use strict';var window=window||global;var document=document||(window.document={});
^这里