Pregunta de entrevista de Advanced Voice Research Labs

what is difference between class and function in javascript?