Test Set 4

Share it

Time limit: 15:00

Practice Test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Question 1 of 20
What's the output of the following code?
function sayHi() {
  console.log(name);
  console.log(age);
  var name = 'Lydia';
  let age = 21;
}

sayHi();
Choose 1 answer