Y
Hacker News
new
|
ask
|
show
|
jobs
by
mahcuz
5127 days ago
That would only evaluate the original [true] key, though, right?
1 comments
tgasson
5127 days ago
No, `test[true]` will be reassigned to the given function each time the condition evaluates to true. Calling `test[true]()` will execute that given function.
link