JavaScript Basics
Core concepts of the JavaScript language.
Front
let
Back
Declares a block-scoped local variable, optionally initializing it to a value
Front
const
Back
Declares a read-only named constant
Front
string
Back
A sequence of characters used to represent text
Front
number
Back
A numeric data type
Front
boolean
Back
A logical data type that can have only the values true or false
Front
array
Back
A high-level, list-like object
Front
object
Back
A collection of key-value pairs
Front
function
Back
A block of code designed to perform a particular task
Front
if...else
Back
A conditional statement that executes a block of code if a specified condition is true
Front
for loop
Back
A statement that creates a loop
Front
===
Back
Strict equality operator (compares value and type)
Front
() => {}
Back
Arrow function syntax