defining a function in javascript
A function is a block of reusable code. It. is useful because you can execute it many times. To define a function, we use var like we did with declaring a variable. You'll see on line 1, we define a function named hello.