Is this JavaScript function, taking a mutable reference argument, a pure function?

前端 未结 0 1162
無奈伤痛
無奈伤痛 2021-01-24 22:55

I have the same question as this one, but in the context of JavaScript.

From Wikipedia:

[a pure function\'s] return value is the same for the same

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