Skip to main content
3 of 4
No longer use a variable for " rock,\n", no "var" at the beginning, while-loop without {}
izlin
  • 1.6k
  • 1
  • 11
  • 18

Javascript - 140 132

k=1,s=", ",t=" o'clock",x="";while(k<11)x+=k+++s+k+++s+k+++t+s+k+++t+" rock,\n";alert(x+"We're gonna rock around the clock tonight.")

The fact, that 11 is made out of two 1's let me pass the rules I guess.

izlin
  • 1.6k
  • 1
  • 11
  • 18