Skip to content

Commit 24766aa

Browse files
committedAug 10, 2023
docs(class): fix typo wangdoc#12
1 parent d0c6f79 commit 24766aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/class.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ class A {
12541254

12551255
## 静态成员
12561256

1257-
类的内部可以使用`staic`关键字,定义静态成员。
1257+
类的内部可以使用`static`关键字,定义静态成员。
12581258

12591259
静态成员是只能通过类本身使用的成员,不能通过实例对象使用。
12601260

0 commit comments

Comments
 (0)
Please sign in to comment.