how to initialize an array in javascrip code example Example: array ub js var fruits = ['Apple', 'Banana'];