🗒 Cheat Sheet← Lesson
BitWithBite
JavaScript Worksheet

⚡ Functions

Chapter: JavaScript · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Declare functions and return valuesArrow functionsParameters vs argumentsDefault parameters

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

1Values come back via:
2const f = () => 5 is an:
3function add(a,b) - a and b are:
4add(2,3) - 2 and 3 are:

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

5Declare: greet(){...}.
6Arrow syntax: const f = (x) x*2.
7Write square(n) as an arrow function.
8Write greet(name) returning `Hello name`.
9Difference: console.log vs return?

🚀 Section C · Challenge ● CHALLENGE 5

10Call: const f=(a,b=10)=>a+b; f(5) = ?
💭 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-B   3-B   4-B  |  5 function   6 =>   7 = const square = n => n * n;   8 = function greet(name){ return `Hello ${name}`; }   9 = log shows output; return hands the value to the caller  |  10 = 15 (b defaults to 10)

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