console.log not a function when passed as an argument to some other function and called within

后端 未结 0 1656
说谎
说谎 2021-01-18 03:40

I\'m attempting to build my own for loop construct.

function loop(value, test, update, body) {
    if (test(value)) {
        body(value);
        return loop         


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