Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mahcuz
on May 29, 2012
|
parent
|
context
|
favorite
| on:
False Cognates and Syntax: The Importance of Synta...
That would only evaluate the original [true] key, though, right?
tgasson
on May 29, 2012
[–]
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: