alanissvad
alanissvad alanissvad
  • 25-02-2020
  • Computers and Technology
contestada

What symbol represents “and” in JavaScript???

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 03-03-2020

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.

Explanation:

Please check the answer section.

Answer Link
danielhw2003
danielhw2003 danielhw2003
  • 25-07-2020

Answer:

&& ( not &)

Yeah, your question is good.

Usually they insert '&&' code in 'if () { };' code.

Answer Link

Otras preguntas

a chessboard has 64 squares at a chess tournament 84 were used how many squares are there on 84 chessboards
what is 0.005 in words
describe a real world situation for 40/h
Oliver drew the figure below to show light traveling from the Sun to Earth name the figure he drew
A similarity between English colonies and the Spanish missions in North America during the 1500s and 1600s was
Round 218 to the nearest hundred
At 11 50 kiranstarted cycling at 25km/h from her house to a park 10 km away. She was at the park for 1h 50min .whatvtime did she leave the park?
A subtending arc on a circle with a radius of 4.5 centimeters has an arc length of 8π. The measure of the angle subtended by the arc is
What are variables and controls?
what is 2,000 10 times as much as