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

if you pour out some of the water in a bucket,does the density of the remaining water change? explain.
w=5,x=9,y=2 x 20-1 a. 28 b. 19 c. 30 d. 32
Please help me with number 6&7
witch is greater 1/5, 0.22, 19%
Which of the following is the best example of multimedia? A)book B)newspaper C)radio program D)video game
A particular patch in your garden is protected from the wind and receives plenty of sunlight. This patch is warmer than the rest of the garden. Which term best
What are the signs of back labor, and how do you manage it?
what does endured mean
which to these statements are true about the geen pool and genetc diversity? A. The size of the gene pool and genetic diversity are not related to each other b
1. What coefficient of H+ balances the atoms in the following half-reaction? H+ + MnO2 Mn2+ + H2O 1 2*** 3 4