declare a constant
声明一个常量
以上为机器翻译结果,长、整句建议使用 人工翻译 。
While static properties are often declared private to prevent meddling, there is one way of creating a read-only statically scoped property: You can declare a constant.
尽管静态属性通常被声明为private来防止别人干预,但有一种方法可以创建只读静态范围的属性,即声明常量。
youdao
应用推荐
模块上移
模块下移
不移动