Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/9/en/part9b.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ The reason for this is, that *Number('lol')* returns *NaN*, which is actually of

To prevent this kind of behavior, we have to validate the data given to us from the command line.

(Note that command line arguments start from process.argv[2], as index 0 is the Node binary path and index 1 is the script path.)

The improved version of the multiplicator looks like this:

```js
Expand Down