javascript - js Who can explain this function?
PHP中文网
PHP中文网 2017-05-19 10:45:31
0
2
540

function uncurryThis(){
  return function(){
    return Function.call.apply(fn,arguments)
  }
}

call and apply are used together. . . don't know

PHP中文网
PHP中文网

认证0级讲师

reply all(2)
滿天的星座

That’s apply function "call"

洪涛

If you understand what currying means, this function will be easy to understand.

The function of this function is decurrying.

In fact, it is similar to the fn()() call.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template