Javascript Questions and Answers
Practice ModeShowing 10 of 78 questions
Q51
Which feature is supported in MSIE 3.x?
Answer: Option D
Q52
How to speicfy the color of the hypertext links with JavaScript ?
Answer: Option A
Q53
<script language="javascript">
function x()
{
var qpt = "QualityPointTechnologies";
var pattern = /point/;
var output= qpt.search(pattern);
document.write("Position: " + output);
}
</script>
Answer: Option B
Q54
--------------- method returns the number of milliseconds in a date string.
Answer: Option C
Q55
------------- converts a string to floating point numbers.
Answer: Option C
Q56
---------------------- attempts to evaluate a string representing any javascript literals or variables, converting it to a number.
Answer: Option A
Q57
Which is not an attribute of the cookie property?
Answer: Option B
Q58
How do substring() and substr() differ?
Answer: Option C
Q59
Which is not a reserved word?
Answer: Option C
Q60
In Javascript, Which of the following method is used to find out the character at a position in a string?
Answer: Option A