这个js代码怎样才能运行,alert()函数怎样才能显示?

function Person(name,job,age)
{
    
    
     this.name=name;
     this.job=job;
     this.age=age;
     this.sayHi=function()
         {
    
    
          alert("Hi")
         }
 } 
 

猜你喜欢

转载自blog.csdn.net/weixin_40945354/article/details/115224531