Theory-Lectures-V2 20-29
Theory-Lectures-V2 20-29
CONTENT NOUNS
<p></p>
means “paragraph”
ADJECTIVES VERBS
p.hide();
p {color: red}
means “hide the
means “the
paragraph”
paragraph text is red”
Modern JavaScript
ECMAScript
Learn modern JavaScript from the beginning, but without forgetting the older parts!
LECTURE
DATA TYPES
OBJECTS AND PRIMITIVES
VALUE
EVERYTHING ELSE
OBJECT OR PRIMITIVE
THE 7 PRIMITIVE DATA TYPES
3. Boolean: Logical type that can only be true or false Ҟ Used for taking decisions
4. Undefined: Value taken by a variable that is not yet de ned (‘empty value’)
6. Symbol (ES2015): Value that is unique and cannot be changed [Not useful for now]
7. BigInt (ES2020): Larger integers than the Number type can hold
JavaScript has dynamic typing: We do not have to manually de ne the data type of
the value stored in a variable. Instead, data types are determined automatically.
fi
fi
SECTION
JAVASCRIPT FUNDAMENTALS – PART 1
LECTURE
BOOLEAN LOGIC