var i ;

for ( i = 0; i <= 5; i++ ) { 
  console.log ( i ) ; // Prints the numbers from 0 to 5 
}