← All JS Chapters LoOPCode Home

08. Arrays

Kai values ek list me — index 0 se start.

Is chapter me cover hoga:

1. List socho

Friends ke naam: ["Aman", "Neha", "Raj"]
Pehla item index 0 pe hota hai — programmers 0 se count karte hain.

2. Common operations

• arr[0] — pehla
• arr.push("new") — end me add
• arr.length — kitne items

Practice — fruits list

Array banao, push karo, loop se print karo.