electron/spec/fixtures/module/preload-node-off.js
2018-05-14 17:00:49 -05:00

13 lines
279 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)
}
})