Using multi dimensional arrays, create an array that will store 10 items of stock with brand name. Number of stock in store and Quantity sold
let arr = [
['Apple', '100', '20'],
['Banana', '120', '30'],
['Tomato', '40', '10'],
['Bread', '15', '4'],
['Juice', '86', '25'],
['Orange', '10', '2'],
['Milk', '24', '20'],
['Water', '1000', '200'],
['Tost', '50', '12'],
['Sugar', '10', '1'],
];
Comments
Leave a comment