Change Language


Follow Navioo On Twitter

&&

Returns true if both the first and second expression evaluate to true.

Syntax

expressionA && expressionB

Example

var myCat = "Jasmine";
var myDog = "Jordo";
if ((myCat == "Jasmine") && (myDog=="Jordo"))
    return true; //Returns true because both conditions are true.

Remarks

Returns false if either expression is false.

text_javascript Navioo_docs

Ajax Javascript feed

↑ Grab this Headline Animator