DEV Community

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

Collapse
 
qm3ster profile image
Mihail Malo • Edited

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 KL

Yeah that wouldn't work in that case.