Carefully study the following Node.js code snippet and answer the question that follows.
1. var var1 =(
2. xz50.
3. y :"This is a string",
4. z : false
5. ];
6. varjson_example = stringify.JSON(var1);
7. console.log(json_example);
8. console.log(typeofjson_example );
9. var json_example1 = JSON.parse(var1);
10. console.log(json_example1);
11. console.log(json_example1.y)
Which of the following lines of code contain an error?
Correct Answer: Line 6
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Node.js MCQ Questions