Constant - MDN Web Docs Glossary: Definitions of Web-related terms 编辑
A constant is a value that the programmer cannot change, for example numbers (1, 2, 42). With variables, on the other hand, the programmer can assign a new value to a variable name already in use.
Like variables, some constants are bound to identifiers. For example, the identifier pi
could be bound to the value 3.14... .
Learn more
General knowledge
- Constant on Wikipedia
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论