Q
What is the result of 10 + '5' in JavaScript?

Answer & Solution

Answer: Option A
Solution:
The result of 10 + '5' is '105' due to string concatenation.
Related Questions on Average

What is the result of Math.sqrt(16) in JavaScript?

A). 4

B). 8

C). 2

D). 16

What is the result of 10 % 3 in JavaScript?

A). 1

B). 3

C). 0

D). 10

What is the result of 10 - 6 in JavaScript?

A). 4

B). 6

C). 16

D). -4

What will be the value of x after let x = 10; x -= 3;?

A). 7

B). 13

C). 3

D). 10

What will be the value of x after let x = 10; x /= 2;?

A). 5

B). 2

C). 20

D). 10

What is the result of 20 / 5 in JavaScript?

A). 4

B). 5

C). 25

D). 15

What does Math.round(5.7) return in JavaScript?

A). 6

B). 5

C). 7

D). 5

What does Math.ceil(5.2) return in JavaScript?

A). 6

B). 5

C). 7

D). 5

What will be the value of x after let x = 10; x %= 4;?

A). 2

B). 4

C). 6

D). 10

What will be the value of a after let a = 5; a--;?

A). 4

B). 5

C). 3

D). 6