-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError bug : Coding style problem #5437
Comments
Working fine in
|
I assume you're talking about the REPL. It looks like it was fixed in #3823, which was released in 5.7.0. I'm going to close this. Please let me know if it is not actually fixed. |
Thanks @princejwesley, I'll close it. |
Thank for your prompt reply, i know that this problem is fixed in v5.7.0 can i know if this problem going to solve in node version 4 ? |
it just breaks some code that we wrote in v 0.12.4 , |
FWIW, I don't really see #3823 as semver-minor. I would classify it as fixing an existing bug. |
@cjihrig would you chime in as much in the issue? Perhaps we could back port it. |
Sure. Done. |
i found a bug that node.js stop me the code differently.
Please refer the the following code:-
//no error
var maximum = Math.max(
1,
10);
//error show
var maximum = Math.max(
1
,10);
// error show
var maximum = Math.max(
1,
10
);
I believe the above code should produce the same result, the position of the comma and closing bracket should not affect the result.
However, node.js throw an error message as:-
SyntaxError: missing ) after argument list
I tested the code in node version 0.12.4, no error shown.
The text was updated successfully, but these errors were encountered: