In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is to share with you about the meaning of reserved words in javascript. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
In javascript, reserved words are a set of names (or commands) that are prepared to be used within the JavaScript language specified by ECMA-262, and cannot be used as variables, function names, object names, and so on. The reserved word is reserved for the upgraded version of JavaScript and is not recommended for users.
The operating environment of this tutorial: windows7 system, javascript1.8.5 version, Dell G3 computer.
Reserved word
Reserved words are a set of names (or commands) that are ready to be used within the JavaScript language specified by ECMA-262. These names currently have no specific use, are reserved for the upgrade version of JavaScript, and users are not advised to use them. The details are shown in the table.
ECMAScript reserved word abstractdoublegotonativestaticbooleanenumimplementspackagesuperbyteexportimportprivatesynchronizedcharextendsintprotectedthrowsclassfinalinterfacepublictransientconstfloatlongshortvolatile
ECMAScript 3 lists all Java keywords as reserved, while ECMAScript 5 is more flexible.
For example, in non-strict mode, only class, const, enums, export, extends, import, super are reserved words, while other ECMAScript 3 reserved words are free to use; in strict mode, ECMAScript 5 becomes more cautious, strictly restricting the use of implements, interface, let, package, private, protected, public, static, yield, eval (non-reserved words) and arguments (non-reserved words).
Thank you for reading! This is the end of the article on "what is the meaning of reserved words in javascript". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 270
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.