Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if statement js

if (!condition)
  statement1

// With an else clause
if (condition)
  statement1
else
  statement2
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #statement #js
ADD COMMENT
Topic
Name
7+5 =