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