mirror of
https://github.com/electron/electron.git
synced 2026-01-14 09:58:04 -05:00
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
try {
|
|
const types = {
|
|
process: typeof process,
|
|
setImmediate: typeof setImmediate,
|
|
global: typeof global,
|
|
Buffer: typeof Buffer,
|
|
'global.Buffer': typeof global.Buffer
|
|
};
|
|
console.log(JSON.stringify(types));
|
|
} catch (e) {
|
|
console.log(e.message);
|
|
}
|