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