MCQs>IT & Programming>Prototype Programming>Consider the following code snippet: var a = {framework: 'Prototype', version: '1.6.1'}; var b = a.toObject(); alert(b.version); What does the alert box display?
Prototype Programming MCQs
Consider the following code snippet:
var a = {framework: "Prototype", version: "1.6.1"}; var b = a.toObject(); alert(b.version);
What does the alert box display?
Answer
Correct Answer: This code snippet causes an error.
Explanation:
Note: This Question is unanswered, help us to find answer for this one