About the FOR loop in JavaScript