why do we write function keyword and code in curly brackets in javascript code example Example: javascript function in brackets (function() { // code })();