linwenling
2023-08-08 9f9c41e93df80b48fbcc4d1c2e7748bed8111302
1
2
// Only Node.JS has a process variable that is of [[Class]] process
export default Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';