【发布时间】:2019-06-19 17:42:27
【问题描述】:
对不起,如果我的问题很愚蠢,我们所有人都已经看到许多方法的函数参数记录为这样
redis.createClient(port[, host][, options])
我无法理解 port 的工作原理以及为什么 host 参数在数组中并且以 , 开头。上面的sn-p来自
https://github.com/NodeRedis/node_redis
谢谢
【问题讨论】:
标签: methods parameters arguments documentation