fn && fn(...args))
how this function works ? in the second func are we getting the arguments ?
callAll is a function that gets a bunch of functions as arguments and returns a function(which has access to all that functions that we have passed it's actually a closure search for it) that gets a bunch of things(args) as argument and then calls all functions with that things
Обсуждают сегодня