判断题
错误
使用的时候直接对类使用new命令。
判断题使用的时候直接对类使用new命令。
class Point { // ...}Point === Point.prototype.construc...
判断题class Point { // ...}Point === Point.prototype.constructor返回true。
class Point{//...}typeofPoint//返回值是“function”。
判断题class Point{//...}typeofPoint//返回值是“function”。