Line 1 is the opening script tag
Line 3 the var function shows that we created a function that will be called writerfunction.
Line 5 is what we want to be shown or the command we are giving.
Line 7 closes the function
Line 9 calls the function.
Line 11 closes the script.