First, create the Person as a constructor function that has a property name called name . The getName() function is assigned to the prototype so that it can be ...
確定! 回上一頁