search

Home  >  Q&A  >  body text

javascript - js Who can explain this function?


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

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

PHP中文网PHP中文网2789 days ago543

reply all(2)I'll reply

  • 滿天的星座

    滿天的星座2017-05-19 10:47:31

    That’s apply function "call"

    reply
    0
  • PHP中文网

    PHP中文网2017-05-19 10:47:31

    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.

    reply
    0
  • Cancelreply