|
Keyword |
Description |
|
break |
Terminates a switch or a loop |
|
continue |
Jumps out of a loop and starts at the top |
|
debugger |
Stops the execution of JavaScript, and calls (if available) the
debugging function |
|
do ... while |
Executes a block of statements, and repeats the block, while a
condition is true |
|
for |
Marks a block of statements to be executed, as long as a condition is
true for (var i=0;i<5;i++) { alert('i = ' + i); } |
|
function |
Declares a function |
|
if ... else |
Marks a block of statements to be executed, depending on a condition |
|
return |
Exits a function |
|
switch |
Marks a block of statements to be executed, depending on different
cases |
|
try ... catch |
Implements error handling to a block of statements |
|
var |
Declares a variable |
Saturday, 24 June 2023
JavaScript Keywords
Date - June 24, 2023
JavaScript
JavaScript Keywords
JavaScript statements often start with a keyword to identify the JavaScript action to be performed. Here is a list of some of the keywords you will learn about in this:
Share this
Related Articles :
Subscribe to:
Post Comments (Atom)
Labels
POPULAR POST
-
POST Method in ASP.NET The POST method transfers information via HTTP headers. The information is encoded as described in case of GET method...
-
ASP.NET Page Life Cycle Events ASP.NET Page Life Cycle Events at every stage of the page life cycle, the page raises some events, which co...
-
Page Auto Postback Property A unique JavaScipt method is added by ASP.Net to the produced HTML Page if the web page we build contains one or...

0 comments
Post a Comment