4 ms·
foreach (user, users) { if (user.email == email) continue; // do stuff }
by icefox 17y ago
foreach (user, users) {
if (user.email == email)
continue;
// do stuff
}
- va_coder 17y agoIt's a matter of aesthetics, but you're still in a for loop. In the Clojure code you have assigned user to a variable and are out of the "loop".