Such functions are called "pure" because they do not attempt to change their inputs, and always return the same result for the same inputs.
像这样的函数,我们称为纯函数,因为他们不要视图改变他们的输入,并且总是返回同样的输出通过输入同样的参数。
Such functions are called "pure" because they do not attempt to change their inputs, and always return the same result for the same inputs.
像这样的函数,我们称为纯函数,因为他们不要视图改变他们的输入,并且总是返回同样的输出通过输入同样的参数。
应用推荐