πŸ“Š JavaScript
Q. Which one of the following options is the correct output for the given code of javascript?
Code:
var values=[4,5,6,7]  
varans=values.slice(1);  
document.writeln(ans);  
  • (A) Error
  • (B) 5, 6, 7
  • (C) 4, 5, 6,
  • (D) 4, 5, 6, 7
πŸ’¬ Discuss
βœ… Correct Answer: (A) Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
280
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yashika
Publisher
πŸ“ˆ
92%
Success Rate