Pregunta de entrevista de Capital One

How JavaScript does certain operations