Home > Q&A > body text
var add = ()() Why do we need two brackets when declaring a variable?
MrSwan2018-05-22 12:46:32
var add = (function(){})(); will directly execute the function and get the return result