b = ['apple', 'banana', 'coconut''] and c = ['apple', 'banana', 'coconut', 'date']
b = ['apple', 'banana', 'coconut''] and c = ['apple', 'banana', 'coconut'']
After the following JavaScript code is run which of the following is true?
var a = [var b = a
var c = a.slice()
a.push('date')
Correct Answer: b = ['apple', 'banana', 'coconut', 'date'] and c = ['apple', 'banana', 'coconut']
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions
JavaScript MCQs | Topic-wise