electron/spec/fixtures/module/preload-node-off.js
2020-03-20 13:28:31 -07:00

13 lines
283 B
JavaScript

setImmediate(function () {
try {
const types = {
process: typeof process,
setImmediate: typeof setImmediate,
global: typeof global,
Buffer: typeof Buffer
};
console.log(JSON.stringify(types));
} catch (e) {
console.log(e.message);
}
});