Quantcast
Channel: HighTechnology » Javascript
Viewing all articles
Browse latest Browse all 17

How to use If Else condition in Javascript

$
0
0

How to use If Else condition in Javascript 1. if statement – use this statement to execute some code only if condition is true then else condition is excluded. 2. if…else statement – use this statement to execute some code when if condition is wrong on this condition else code run. Code:- <script type="text/javascript"> var

The post How to use If Else condition in Javascript appeared first on HighTechnology.


Viewing all articles
Browse latest Browse all 17

Trending Articles