JavaScript Functions

I left class early for Beanpot... Sorry Dave. I'm not entirely sure if this is what you asked for, so let's find out!

Please answer the following questions.

10+10= ?

Did I do this right?