Skip to main content
save one byte, per Luca_Scorpion
Source Link
Yair Rand
  • 421
  • 2
  • 5

JavaScript (ES6), 2222 21 bytes

for(i=0n;++i;i=0n;;)alert(i++i)

This uses BigInts, which can go to high integers without losing accuracy. Per earlier submissions, I'm assuming that using alert, with its automatic separation between popups, means that outputting an extra character is not necessary.

JavaScript (ES6), 22 bytes

for(i=0n;++i;)alert(i)

This uses BigInts, which can go to high integers without losing accuracy. Per earlier submissions, I'm assuming that using alert, with its automatic separation between popups, means that outputting an extra character is not necessary.

JavaScript (ES6), 22 21 bytes

for(i=0n;;)alert(++i)

This uses BigInts, which can go to high integers without losing accuracy. Per earlier submissions, I'm assuming that using alert, with its automatic separation between popups, means that outputting an extra character is not necessary.

Source Link
Yair Rand
  • 421
  • 2
  • 5

JavaScript (ES6), 22 bytes

for(i=0n;++i;)alert(i)

This uses BigInts, which can go to high integers without losing accuracy. Per earlier submissions, I'm assuming that using alert, with its automatic separation between popups, means that outputting an extra character is not necessary.