How to detect if script is running in browser or in Node.js? [duplicate]

后端 未结 3 1125
清歌不尽
清歌不尽 2021-01-01 12:35
热议问题