exam prep js - console justification