brackets inside javascript function parameter explained code example Example: javascript function in brackets (function() { // code })();