3 ms·
In general, you can use explicit argument passing or closing over what you need. I tend to use closures to get information from my current scope to a callback,
by wycats 15y ago
In general, you can use explicit argument passing or closing over what you need. I tend to use closures to get information from my current scope to a callback, although that doesn't always work in heavily object-oriented code.