Skip to content

Commit ff0ba9d

Browse files
authored
Update class-and-instance.md (#42)
1 parent 2a375e9 commit ff0ba9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n/zh-cn/docusaurus-plugin-content-docs/current/class-and-instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ console.log(circle.getArea()); // 78.53981633974483
4242
console.log(circle.getCircumference()); // 31.41592653589793
4343
```
4444
:::tip
45-
class 中的 `static` 关键字原来是 TypeScript 提供的特性,但从 ES2022 起已经在JavaScript中[原生支持](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Classes/static)了。 除此之外,TypeScript 还提供了 `public``private``protected` 访问修饰符。
45+
class 中的 `static` 关键字原来是 TypeScript 提供的特性,但从 ES2022 起已经在 JavaScript 中[原生支持](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Classes/static)了。 除此之外,TypeScript 还提供了 `public``private``protected` 访问修饰符。
4646
:::
4747

4848
#### Python 实现

0 commit comments

Comments
 (0)