This might not be a good question, but I’m gonna ask anyway…
so..I usually write a function like this
function name( param1, param2 )
{
}
somehow jslint complains about the space between ( and param1.
Is this really a problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, spaces are not significant in Javascript. However, most people write that code without a space after
(, and jslint is just suggesting that you follow that same convention.