📘 JavaScript data types live editor

🎓 8 types · interactive notebook · no pdf
📄 1️⃣

String

let name = "Kevin";
let greet = 'Hello';
quotes
🔢 2️⃣

Number

let age = 25;
let price = 99.99;
int & float
✅ 3️⃣

Boolean

let isLogged = true;
true/false
❓ 4️⃣

Undefined

let score;
// undefined
🚫 5️⃣

Null

let user = null;
🗂️ 6️⃣

Object

let student = {name:"John", age:20};
📚 7️⃣

Array

let colors = ["red","blue"];
✨ 8️⃣

Symbol

let id = Symbol("id");
🧠 typeof debugging tool
typeof "Hello" // "string"
typeof 100 // "number"
typeof true // "boolean"
typeof undefined // "undefined"
typeof null // "object"
typeof {} // "object"
typeof [] // "object"
typeof Symbol() // "symbol"

📌 Primitive (single value)

    • String • Number • Boolean • Undefined • Null • Symbol

📦 Non‑primitive

    • Object • Array

🎮 live code playground

⚡ output will appear here after you click "run code"

💡 different displays: console.log, alert, document.write? (alerts will pop up).
The editor captures all console logs. Try console.log('hello') or window.alert()