代码拉取完成,页面将自动刷新
/* globals unknown */
import path from 'path';
function noop() {}
/**
* @param {unknown[]} arguments_
*/
function nextTick(...arguments_) {
const [function_] = arguments_;
arguments_.shift();
setTimeout(function () {
if (typeof function_ === 'function') {
function_.apply(null, arguments_);
}
}, 0);
}
/**
* @param {unknown} name
*/
function binding(name) {
throw new Error('No such module. (Possibly not yet loaded)');
}
const features = {};
const platformName = 'browser';
const pid = 1;
const browser = true;
const environment = {};
/** @type {string[]} */
const argv = [];
let cwd = '/';
function getCwd() {
return cwd;
}
/**
* @param {string} dir
*/
function getChdir(dir) {
cwd = path.resolve(dir, cwd);
}
export {
features,
nextTick,
pid,
browser,
environment as env,
argv,
binding,
getCwd as cwd,
getChdir as chdir,
noop as exit,
noop as kill,
noop as umask,
noop as dlopen,
noop as uptime,
noop as memoryUsage,
noop as uvCounters,
platformName as platform,
platformName as arch,
platformName as execPath,
platformName as title
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。