Which of the following check if an object has a specific property?
Correct Answer: hasownproperty ()
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
Which correctly explains the difference between a 'for...in' and a 'for' loop?
What's the output? document.alinkColor='green'
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?
In the HTML code a div is present
When iterating through an objects properties, which function should be used to check each property?
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);