2081 7

Web Technology20815 marksArrays

How can you define array in javascript? Create an array Fruit with its elements 'apple', 'banana', 'mango', 'grape' and print the array.

How can you define array in javascript? Create an array Fruit with its elements 'apple', 'banana', 'mango', 'grape' and print the array. [5]

As per the notes, an array is a special variable which can hold more than one value at a time. We can access the values of an array by referring to an index number, and the index of an array starts with 0. Arrays are special types of objects in JavaScript. Syntax: --- Below is the complete HTML a...

Up nextHow can you transform XML document into HTML using XSLT. Support your answer with an examp