We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, if you want to console.log a in this function, you have to use a comma instead of a semicolon.
a
const sum = (a, b) => ( console.log(a), a + b );
The text was updated successfully, but these errors were encountered:
Here is another example. If you don't have parenthesis, then you need to use ||.
||
const sum = (a, b) => a + b
If my cursor is on the a and I want it console.log right before my cursor, it should produce this:
console.log
const sum = (a, b) => console.log(a) || a + b
Sorry, something went wrong.
Or, if it was on 2 lines, then this:
should produce this:
No branches or pull requests
For example, if you want to console.log
a
in this function, you have to use a comma instead of a semicolon.The text was updated successfully, but these errors were encountered: