What are the keywords in javascript

青灯夜游
Release: 2023-01-04 09:34:50
Original
8389 people have browsed it

Keywords include: break, do, instanceof, typeof, case, else, new, var, catch, finally, return, void, continue, for, switch, while, if, try, this, with, etc. .

What are the keywords in javascript

The operating environment of this tutorial: windows7 system, javascript version 1.8.5, Dell G3 computer.

Keywords and reserved words in JavaScript

You cannot use keywords, reserved words, true, false and null as identifiers.

Keywords in JavaScript can be used to indicate the beginning or end of a control statement, or to perform specific operations, etc. As a rule, keywords are also language reserved and cannot be used as identifiers.

Keywords

#breakdo instanceoftypeofcase##elsereturnwhile indebugger##Reserved words





new var catch finally
void continue for switch
default if throw delete
try function this with
false true null


#classenumimportyieldconstProgramming Video! !




extends super export
impelements let public
interface package static


##For more programming-related knowledge, please visit:

The above is the detailed content of What are the keywords in javascript. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template