Person is a function. This function constructs objects, so it is a constructor. In JavaScript there are no classes. A class is a blueprint of an object.
確定! 回上一頁