electron/spec/fixtures/module/preload-required-module.js

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

13 lines
273 B
JavaScript
Raw Normal View History

try {
2018-05-14 22:00:49 +00:00
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);
}