function with brackets js code example Example: javascript function in brackets (function() { // code })();