JavaScript Online Quiz Questions 5

JavaScript Online Quiz Questions 5

JavaScript Online Quiz Questions 5

JavaScript Online Quiz Questions 5

Find below MCQ (Multiple Choice) questions and Answers useful for learning JavaScript. Play our JavaScript Online Quiz Questions  and Earn points and check how sharp your skill are in JavaScript programming.

Welcome to your JavaScript Online Quiz Questions 5

Name
Email
Mobile
1. How to specify the color of the hypertext links with JavaScript ?
2. <script language="javascript">
function x()
{
var qpt = "QualityPointTechnologies";
var pattern = /point/;

var output= qpt.search(pattern);

document.write("Position: " + output);
}
</script>
3. _________ method returns the number of milliseconds in a date string.
4. ParseFloat converts a string to floating point numbers.
5. eval attempts to evaluate a string representing any javascript literals or variables, converting

it to a number.
6. Which is not an attribute of the cookie property?
7. How do substring() and substr() differ?
8. Which is not a reserved word?
9. In Javascript, Which of the following method is used to find out the character at a position in a string?
10. <script type="text/javascript" language="javascript">

var qpt = "QualityPointTechnologies";
var result =qpt.substring(7,8);
document.write(result);

</script>

[Total: 0    Average: 0/5]

Leave a Reply

Your email address will not be published. Required fields are marked *