The specific issue that JSLint is trying to fix is ββthe lack of closure ; , which may cause an error when the function is interpreted as an argument:
(function A( arg ){
That's right, B is passed to A as arg . However, this is often not the intended case, as they are often designed for self-fulfillment, and the rear () been forgotten. The proposed syntax eliminates any confusion that you may have accidentally forgot to perform your function as intended.
For what it's worth, I almost always use the first syntax; habit.
source share