array subscript java code example
Example 1: javascript get sub array
var fruits = ["Banana", "Orange", "Lemon", "Apple", "Mango"];
var citrus = fruits.slice(1, 3);
// ["Orange", "Lemon"]
Example 2: what is the purpose of subscript in an array
arrayName( subscript )
// declaring a subscript