Is it absolutely the case that arrays are used by reference in other modules in Node.js?

前端 未结 0 1823
遥遥无期
遥遥无期 2020-12-12 02:42

I have

// file cars.js
var bodyshop = require(\'./bodyshop\')

var connections = [];

many functions which operate on connections. adding them, changing them          


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