构造函数形式function xx()与class xxx{constructor}()有什么不同?发布于 8 年前作者 hanchao1112 次浏览最后编辑 8 年前来自 ask 这两种 构造函数 有什么差别吗 因为百度不到 想要问一下