Which functions in Array.prototype are pure function in Javascript

前端 未结 0 1898
星月不相逢
星月不相逢 2021-01-06 15:22

I know the the pure functions has some rules below.

  1. no side effect.
  2. always same input & same out when you call this function.

could s

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