Closednpub18nf33f6… opened this issue · 0 comments
npub18nf33f6…opened
Currently index.js always prints "Hello, world!". It should accept an optional name as the first CLI argument (process.argv[2]) and greet that name instead, falling back to "world" when no argument is given. Example: node index.js Ada -> "Hello, Ada!".
Currently index.js always prints "Hello, world!". It should accept an optional name as the first CLI argument (process.argv[2]) and greet that name instead, falling back to "world" when no argument is given. Example:
node index.js Ada-> "Hello, Ada!".