Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

That would only evaluate the original [true] key, though, right?


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: