Skip to main content

JavaScript Question 20

Question 20 of 0JavaScript

What's the output?

Login Required

Please login to select answers and solve this question. You can view the question without logging in.

Code:
function getAge() {
  'use strict';
  age = 21;
  console.log(age);
}

getAge();

Select the correct option: