选择篇(021)-下面代码的输出是什么?

function Person(firstName, lastName) { this.firstName = firstName; this.lastName = lastName; }const member = new Person("Lydia", "Hallie"); Person.getFullName = function () { return `${this.firstName} ${this.lastName}`; }console.log(member.getFullName());

A: TypeError
B: SyntaxError
C: Lydia Hallie
D: undefined undefined
【选择篇(021)-下面代码的输出是什么?】参考答案:

    推荐阅读