$ ./guess_the_languageProblem Solving — fix the bug
Problem Solving — fix the bug · easy · #7

Which fix removes the bug?

const name = "Ada";
console.log("Hello, " + Name);
  1. Add let Name
  2. Use backticks
  3. Capitalize the string
  4. Change Name to name
JavaScript is case-sensitive; the variable is name.
Play Problem Solving ▸