Are For Loops or ForEach Better in JavaScript?