1.

How many constant values can the property type be represented?(a) 2(b) 3(c) 4(d) 5I have been asked this question during an interview for a job.My doubt is from Performance Navigation and Memory topic in section Invocation and Performance Navigation of JavaScript

Answer»

Correct option is (C) 4

Explanation: The type property SETS or returns the value of the type attribute of an ELEMENT. The type attribute specifies the Internet media type (formerly known as MIME type) of the object. Totally 4 constant VALUES can be represented by the property type.



Discussion

No Comment Found

Related InterviewSolutions