JavaScript statement code blocks

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


Other examples in Statements (JavaScript tutorial)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0