From 251552555a103678064b4b3b0e63999f6847465e Mon Sep 17 00:00:00 2001 From: Owen <469564715@qq.com> Date: Wed, 1 Jun 2016 21:12:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/class.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/class.md b/docs/class.md index 9e021e0..22f4446 100644 --- a/docs/class.md +++ b/docs/class.md @@ -905,8 +905,7 @@ Foo.prop // 1 目前,只有这种写法可行,因为ES6明确规定,Class内部只有静态方法,没有静态属性。 ```javascript -// 以下两种写法都无效, -// 但不会报错 +// 以下两种写法都无效 class Foo { // 写法一 prop: 2