Java Script (Key words)

Hi friends
 welcome to second block about java script.


Java script key words


Pause
Terminate a switch or loop

Carry on
Jump a loop and start at the top

debugger
Stop JavaScript execution and call (if available) the debug function

to do while
Execute an instruction block and repeat it as long as a condition is true

for
Mark a block of statements to execute, as long as a condition is true

a function
Declare a function

if not
Mark a block of statements to execute, depending on a condition

return
Leave a function

switch
Mark a block of instructions to execute, as appropriate.

try ... catch
Implements error handling in an instruction block

var
Declare a variable


Java script is case sensitive language . as a example var Var, VAR are different words .
cant use Var to declare variable .

Comment in js

single line comment start with "//" mark
Multi-line comment write in between  /*  */ marks.

See you in next Blog.

Thank You











Comments

Popular posts from this blog

MERN App

Node Introduction

React installation