2017-02-23 19:26:37 +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,
|
|
|
|
'global.Buffer': typeof global.Buffer
|
2020-03-20 20:28:31 +00:00
|
|
|
};
|
|
|
|
console.log(JSON.stringify(types));
|
2017-02-23 19:26:37 +00:00
|
|
|
} catch (e) {
|
2020-03-20 20:28:31 +00:00
|
|
|
console.log(e.message);
|
2017-02-23 19:26:37 +00:00
|
|
|
}
|