electron/spec/fixtures/module/preload-node-off.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
283 B
JavaScript
Raw Normal View History

2016-03-25 20:03:49 +00:00
setImmediate(function () {
try {
2018-05-14 22:00:49 +00:00
const types = {
process: typeof process,
setImmediate: typeof setImmediate,
global: typeof global,
Buffer: typeof Buffer
};
console.log(JSON.stringify(types));
} catch (e) {
2016-03-25 20:03:49 +00:00
console.log(e.message);
}
2016-03-25 20:03:49 +00:00
});