JavaScript code are the sequence of statements.These statements can be grouped. These grouped are called blocks and the blocks are created using {} brackets.