Re: [jslint] Invoke a function in an array or object
- On 14/12/09 13:24, samckayak wrote:
> When an array or object contains functions:Technically, both versions are correct, but since the parentheses around
> var aFunct=;
> What are the pros and cons of invoking the function using either of the following:
aFunct are redundant, and there are no ambiguities in aFunct(), I
can't see any advantage to the second version.
Back on topic: JSLint is fine with both.