0
說我有擴展功能node.js是否替換process.env對象保存?
extend(obj1, obj2) -> creates new object does not mutate sources
根據文檔process.env只是一個對象,但我不知道它是保存操作做followng:
process.env = extend(process.env, {MY_SETTING: 'Something'})
所以process.env意志被完全替換具有相同屬性的新對象?