In JavaScript, what is the result of "5" + 3?
-
A
8
-
B
53
Correct answer
-
C
53
-
D
Error
11 views
Explanation
+ with a string performs concatenation: "5" + 3 = "53". Source: Standard JavaScript content (FBISE-aligned).
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ