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