get a string in brackets javascript code example Example: javascript function in brackets (function() { // code })();