Question 14
Consider the following JavaScript code:
Which of the following statements are TRUE?
returns "Electronic device"
returns "Samsung is a Electronic device"
Calling throws a runtime error
returns "Electronic device"
Consider the following JavaScript code:
Which of the following statements are TRUE?
returns "Electronic device"
returns "Samsung is a Electronic device"
Calling throws a runtime error
returns "Electronic device"
Correct answers
returns "Electronic device"
returns "Samsung is a Electronic device"
Calling throws a runtime error
Question 14 of 17 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Modern Application Development Ii 15 Mar 26). It carries 4 marks.