What will the following code snippet do? document.alinkColor="green"
Correct Answer: It makes the color of the active links green.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JavaScript Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JavaScript MCQ Questions
Select the following function that shuffles an array?
Consider three variables: someText = 'JavaScript1.2'; pattern = /(\w+)(\d)\.(\d)/i; outCome = pattern.exec(someText); What does pattern.global contain?
Consider the following scenario: The document.write() method is embedded to write some text within a pair of table tags. Upon loading the file, however, garbled text appears on the section of the page where the text should be. What could be the reason for this?
Which is not a valid HTML event?
Final value of the variable apt? var apt=2; apt=apt<<2;
The output for the code would be var a=5 , b=1 var obj = { a : 10 } with(obj) { alert(b) }
What's the output? (function(x) { return (function(y) { console.log(x); })(2) })(1);
Evaluate the result of c: var a = (NaN == NaN) ; var b = 0; var c = (a === b);
Javascript is designed for the following purpose__________
In the expression y = '5' + 5;