loading...

re: ⭐️ Interactive JavaScript Quiz #2 VIEW POST

FULL DISCUSSION
 

2/3

  1. This was a warm up question πŸ™‚
  2. I thought that I'll fail with this one, because I have almost zero experience with generators/iterators, but somehow figured the right answer.
  3. My belief that typeof operator is always safe even with undeclared variables was wrong πŸ˜”. Watch out for TDZ!
 

That’s great!!

Yeah there are some pitfalls when using the uninitialized variables haha, it’s not always very clear what you can and cannot do, I agree

code of conduct - report abuse