[removed] what does function(_) mean

后端 未结 3 638
别那么骄傲
别那么骄傲 2020-12-16 19:44

I\'m going through the bacon.js slide at: http://raimohanska.github.io/bacon.js-slides/1.html

In the 1st line of the 2nd block, it says:

function alw         


        
3条回答
  •  孤街浪徒
    2020-12-16 20:11

    It's an anonymous function with one argument, the name of that argument is _.

    I don't know why they bother with the argument, since the function doesn't use it.

提交回复
热议问题