Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 06

Operators and syntax

Everyday syntax interviewers probe: destructuring, spread and rest, short-circuiting operators, loops, and semicolons.
5 questions
  1. 010How does destructuring work, and where does it throw?Coming sooneasy
  2. 020What's the difference between spread and rest?Coming sooneasy
  3. 030?? vs ||, and how do optional chaining and logical assignment short-circuit?Coming sooneasy
  4. 040for…in vs for…of vs forEach — when do you use each?Coming sooneasy
  5. 050How does automatic semicolon insertion work, and when does it bite?Coming soonmedium