Y
Hacker News
new
|
ask
|
show
|
jobs
by
ben509
2492 days ago
They're creating a sequence of digits and then truncating. If you want to replicate that precisely, you could use an accumulator and a loop to do the same thing. At least then you could break early.