1.

What is the purpose of the platform[] property in a navigator?(a) Platform of the script(b) Platform where the image map was designed(c) Platform where the browser was compiled(d) Platform where the plugin was designedThe question was posed to me in unit test.My question is taken from Image Map topic in portion Caching, Debugging and Animation of JavaScript

Answer»

The CORRECT answer is (c) Platform where the browser was COMPILED

Explanation: The platform[] property is a string that CONTAINS the platform for which the browser was compiled. “WIN32” for 32-bit Windows operating systems.



Discussion

No Comment Found

Related InterviewSolutions