Undefined

Report a typo

Change the code so that it outputs undefined to the console.

Write a program in JavaScript
let data = 1000;

function getData(data) {
console.log(data);
}

getData("id: 74060");
___

Create a free account to access the full topic