Easy
What does the following code display? More than one answer possible.
(We accept answers that only correspond to a part of everything that the program generates as output)
var arr = ['Peter', 'Paul', 'Jacques'];
console.log(arr.join(','));
arr.push('John');
console.log(arr[0]);
console.log(arr.length);
Author: Jean-marie CléryStatus: PublishedQuestion passed 2135 times
Edit
3
Community Evaluations
Similar QuestionsMore questions about Javascript