結果 : what is the correct javascript syntax for a for loop