Debugging Code Game

Identify the bug in the following JavaScript code by clicking on the line that contains the error. The code prints a greeting to the console.





function greet(name) {



  console.log("Hello, " + name);



}







greet("World");



greet();



Get Notified About Similar Roles

Subscribe to receive updates when we post new positions similar to this one.