🗒 Cheat Sheet← Lesson
BitWithBite
JavaScript Worksheet

⚡ Arrays

Chapter: JavaScript · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Create/index arrayspush/pop/shiftmap and filterFind array length
📚 Quick Recap

🎯 What you'll learn: How to create and manipulate arrays in JavaScript — from basics like push/pop to powerful functional methods like map, filter, and reduce. You'll also cover destructuring, spread, sorting, and build real examples like a shopping cart.

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1[10,20,30][1] is:
2Add to the end with:
3[1,2,3].map(x=>x*2) gives:
4filter returns:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5arr.() removes the last item.
6[1,2,3].length = .
7Create an array of 3 colors.
8Double every number in [1,2,3].
9Keep only even numbers of [1..6].

🚀 Section C · Challenge ● CHALLENGE 5

10What does [1,2,3].pop() return and leave?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-B   2-A   3-A   4-B  |  5 pop   6 3   7 = const colors=['red','green','blue'];   8 = [1,2,3].map(n=>n*2) = [2,4,6]   9 = arr.filter(n=>n%2===0) = [2,4,6]  |  10 = Returns 3; array becomes [1,2]

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet