javascript two if statements

 

 

 

 

JavaScript block statements are the curly braces ( ) you see everywhere. They are used to establish code that is to be compartmentalized into a specific function or statement.You establish two parameters inside of its parenthesis: