Difference Between For Loop And While Loop Js