Ad
  • Default User Avatar

    The version of Node.js required for this solution was added less than 5 months ago, so the solution has had much less time to collect votes compared to the current top 6-year-old solution.

  • Custom User Avatar

    this is the same answer i provided, but it seems like it's not the most popular one. the more popular ones are much more verbose, and i dont understand them. can anyone explain if there are any disadvantages to using this method?

  • Custom User Avatar

    you can't actually use the input() function here or whatever it is in the language you're writing in. you have to indicate name as the placeholder name that they use in the example sentence. that really threw me off as the question requested for input.