From ef5e3a2ea341c27dedba8a533fd7d5fc07bb095b Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 18 Oct 2022 21:11:54 +0800 Subject: [PATCH] docs(class): fix typo --- docs/class.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/class.md b/docs/class.md index d7ac470..cbdde3b 100644 --- a/docs/class.md +++ b/docs/class.md @@ -120,7 +120,7 @@ Object.assign(Point.prototype, { }); ``` -`prototype`对象的`constructor()`属性,直接指向“类”的本身,这与 ES5 的行为是一致的。 +`prototype`对象的`constructor`属性,直接指向“类”的本身,这与 ES5 的行为是一致的。 ```javascript Point.prototype.constructor === Point // true