ServiceNow interview question

Knowledge on modeling a real life event using classes in JavaScript