1. What is the result of the following code: 'let numbers = [1, 2, 3]; numbers[5] = 5; console.log(numbers.length);' 3 4 5 6 Wrong 2. How can you check if a specific element is present in an array in JavaScript? Using the 'exists()' method By comparing each element using a loop By using the 'contains()' method By using the 'includes()' method Wrong 3. What is the purpose of the 'pop()' method in JavaScript? To remove the first element of an array To remove the last element of an array To add an element to the end of an array To find the index of an element in an array Wrong 4. Which method is used to remove elements from a specific index in an array in JavaScript? delete() remove() splice() cut() Wrong 5. How can you access an element in an array in JavaScript? By using the index of the element By using the 'get' keyword By using the element's value By using the 'access' keyword Wrong 6. What is an array in JavaScript? A special data type for storing only numbers A collection of variables with the same data type A data structure for storing and organizing multiple values A reserved keyword for defining functions Wrong 7. Which method is used to add elements to the end of an array in JavaScript? push() append() add() insert() Wrong 8. How do you declare an array in JavaScript? array myArray = [] let myArray = {} var myArray = new Array() let myArray = [] Wrong 9. What is the index of the first element in an array in JavaScript? 0 1 -1 null Wrong 10. How do you find the length of an array in JavaScript? lengthOf() size() count() length Wrong Result: Share on Facebook