- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
You must log in or register to comment.
I’ll do you one better
function* sorry() { yield "I'm sorry"; }
Call sorry.next().value as many times as you need to baby, hell you can even use it in a for-of loop because Generator functions are Iterable. I fucking love JavaScript
- Using Java
102 times
Why 102? Isn’t it 0-100?
He already said it once
If they have eggs, get a dozen.