how to create an application using Node CLI Args:
Added A complete code example that shows how to create an application using Node CLI Args:
Codecov Report
Merging #2555 (01341bd) into main (137c842) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #2555 +/- ##
=======================================
Coverage 90.38% 90.38%
=======================================
Files 87 87
Lines 998 998
Branches 270 270
=======================================
Hits 902 902
Misses 96 96
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 137c842...01341bd. Read the comment docs.
Please find a preview at: https://staging.nodejs.dev/2555/
Please find a preview at: https://staging.nodejs.dev/2555/
@adityagupta29, now this code snippet is linted as real JS code and it was found few code-style issues more. Could you please fix them as well?
I don't have any about it, i am new, can you help me please?
I don't have any about it, i am new, can you help me please?
Your code inside the snippets is not following our ESLint rules. Just run eslint . --fix and it should fix the auto fixable issues. The error messages on the build give you plenty of details of what to fix/change 😄
The linting error is for this line
console.log(operation + ' is ' + (operator1 + operator2));
Change it to a template string. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#syntax
This pull request is stale because it has been open for 30 days with no activity.