Understanding basics of array in javascript

added by JavaScript Kicks
6/12/2018 12:30:27 PM

630 Views

In the post I will share some basics about Array. Array Array is the way of storing group or list of data. Let say, we want to store group of colors without using array. const color1 = 'purple'; const color2 = 'black'; const color3 = 'yellow'; const color4 = 'aqua'; As we see, our codes are not DRY(Don't Repeat Yourself) at all.


0 comments