疑问1:环境脚本的作用
// Proxy
(function () {
let __debugger__ = false;
// let __debugger__ = 'setItem';
// Proxy 打印时排除的无价值信息
let exclude_array = ["Math", "isNaN", "encodeURI", "Uint8Array", "Float32Array", "ArrayBuffer", "Float32Array", "Uint32Array", "Int32Array", "Int16Array", "JSON", "Symbol", "Promise", "Float64Array", "Uint16Array", "Int8Array", "Array"];
// 常见的浏览器环境没有,但其他环境有的环境检测变量名,Proxy会提示浏览器不存在
let browserless_array = ['Dispatch', '__VUE_DEVTOOLS_GLOBAL_HOOK__', 'standalone', 'QObject', 'CSSValueList', 'ClientRectList', 'PaintRequestList', 'SVGPathSegList', 'ActiveXObject', 'rawWindow', 'callPhantom', '_phantom'];
// 详细日志开关,开启后打印函数的被调用信息
let all_log = true;
is_log = function (...args) {
if (all_log) {