oak-frontend-base/lib/utils/wx.polyfill.js

19 lines
424 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Object.assign(global, {
Array: Array,
Date: Date,
Error: Error,
Function: Function,
Math: Math,
Object: Object,
RegExp: RegExp,
String: String,
TypeError: TypeError,
setTimeout: setTimeout,
clearTimeout: clearTimeout,
setInterval: setInterval,
clearInterval: clearInterval,
process: {},
});