Q
What is the value of the expression '10 ** 2' in JavaScript?

Answer & Solution

Answer: Option B
Solution:
The exponentiation operator (**) raises the base to the power of the exponent, resulting in 10 ** 2 = 100.
Related Questions on Average

Which operator is used for logical NOT in JavaScript?

A). &&

B). ||

C). !

D). &

Which operator is used for decrementing a value in JavaScript?

A). ++

B). --

C). +=

D). -=

What is the result of '10 == '10'' in JavaScript?

A). 1

B). 0

C). undefined

D). null

Which of the following is a string expression in JavaScript?

A). 5 + 3

B). true && false

C). 'Hello' + 'World'

D). (5 > 3)

Which operator is used for incrementing a value in JavaScript?

A). ++

B). --

C). +=

D). -=

Which of the following is an example of a conditional expression in JavaScript?

A). (5 + 3)

B). true && false

C). (age >= 18) ? 'Adult' : 'Minor'

D). 'Hello' + 'World'

What is the result of the expression '5 + 3 * 2'?

A). 16

B). 11

C). 10

D). 13

What will be the value of 'true

A).

B). false' in JavaScript?

C). 1

D). 0

What is the value of the expression 'true && false'?

A). 1

B). 0

C). null

D). undefined

Which of the following is a valid JavaScript literal expression?

A). 10 + 5

B). 'Hello'

C). true && false

D). (5 > 3)