Forgot there are no declared types in JS for loop