
Array 101 : Essential for every Developer
What are Arrays and why we need them? The arrays German Translation (Reihe) is a great tool which means row/ series, yes, you are right ,we are discussing here the netflix series of movies. Array is ordered collection of values, values are Full Swing,Mr. Robot, My Demon, Black Mirror ,the big bang theory and evil. Each movie is termed as element and each element has a numeric position in the array , also refered as it's index. Right now we have one type movie and movie name is a string and string in javascript is object and as we know that everything in Javascript is refered as object. Javascript arrays are untyped and array element may contain different type of element and it can be array of objects or other arrays. const contentCreators = [ { name: "Bhupesh Joshi", age: 30, active: true }, { name: "Hitesh Choudhary", age: 35, active: true }, { name: "Piyush Garg", age: 27, active: true }, ]; Array is an ordered collection of element and it is stored in contiguous memory locations and
Continue reading on Dev.to JavaScript
Opens in a new tab


