3 ms·
This is the same as: var func = (function(test){console.log(test)}); func(1); What's going on is you're creating an anonymous function, and then calli
by echeese 11y ago
This is the same as:
var func = (function(test){console.log(test)});
func(1);
What's going on is you're creating an anonymous function, and then calling it.