Message from JavaScript discussions

June 2019

— The same way you handle everything else, .catch


Do i need to put parentheses around a for loop if i have got an if with just one statement? for example:

for (whatever)
if (something)

would this work?

— Around for?

— Obviously

— Around if no

— Do i need to write the same thing but with
for (whatever)


— Ok

— I had a doubt about the for loop

— Apparently it works even if put like this

— Nope

— No need for it around any of them

— ?