Detect if code using NodeJS specific global objects, what may not exist in browser

前端 未结 0 1765
借酒劲吻你
借酒劲吻你 2020-11-29 12:15

My code was written in in NodeJS, but It can also work in browser. But I made mistake earlier when I tried read process.versions variable directly.

Is th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题