DEV Community


Discussion on: Is there a good temporary variable name that you use?

qm3ster profile image
Mihail Malo

I wish it let me do while (token = res.newToken), but res goes out of scope there. Too bad for JS spec.

Thread Thread
klvenky profile image
venkatesh k Author

Yeah that wouldn't work in that case.