运行代码
(Shift+Enter)
HTML教程
奔月教程(runoon.com)
JavaScript
this
关键字
在实例中,
this
指向了 fullName 方法所属的对象 person。
运行结果