Answer:
&& represent "and" in Javascript. Hence, if you want to make use of and in Javascript then you need to make use of && operator, as this in Javascript means and.
As an example:
if (a && b) {
// code to be executed
}
Above if a and b are equal then the code will be executed or else part will be executed.
Step-by-step explanation:
Please check the answer section.