Why is it necessary to declare a closure like this?
hopol
hopol 2018-05-16 21:21:14
0
1
1071

var add = ()() Why do we need two brackets when declaring a variable?

hopol
hopol

reply all(1)
MrSwan

var add = (function(){})(); will directly execute the function and get the return result

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template