Appberry interview question

what is a javascript function