function getAge() {
'use strict'
age = 21
console.log(age)
}
getAge()
- A:
21
- B:
undefined
- C:
ReferenceError
- D:
TypeError
参考答案
function getAge() {
'use strict'
age = 21
console.log(age)
}
getAge()
21
undefined
ReferenceError
TypeError
参考答案