Home
Press ? for keyboard navigation
❮
Conditionals in JavaScript
Double equal (==) issues in JavaScript
❯
if
if statement
examples/js/if_statement.js
"use strict"
;
var
y
=
42
;
if
(
y
===
42
)
{
console
.
log
(
'y is 42'
);
}
// y is 42
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)