2016-03-25 13:03:49 -07:00
|
|
|
setImmediate(function () {
|
2015-09-14 16:05:58 +08:00
|
|
|
try {
|
2018-05-15 01:00:49 +03:00
|
|
|
const types = {
|
|
|
|
process: typeof process,
|
|
|
|
setImmediate: typeof setImmediate,
|
|
|
|
global: typeof global,
|
|
|
|
Buffer: typeof Buffer
|
|
|
|
};
|
|
|
|
console.log(JSON.stringify(types));
|
2015-09-14 16:05:58 +08:00
|
|
|
} catch (e) {
|
2016-03-25 13:03:49 -07:00
|
|
|
console.log(e.message);
|
2015-09-14 16:05:58 +08:00
|
|
|
}
|
2016-03-25 13:03:49 -07:00
|
|
|
});
|