Why you can’t break a forEach loop in JavaScript