0% found this document useful (0 votes)
555 views13 pages

Basic Vocabulary Seven Ypes: Any Text

The document discusses the basic concepts of JavaScript including: 1. The 6 primitive data types in JavaScript: string, number, boolean, null, undefined, symbol. 2. Variables are used to store and reference values using keywords like var, let, and const. 3. Objects are used to store key-value pairs of data and can contain methods which are functions assigned to keys.

Uploaded by

Greet Labs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
555 views13 pages

Basic Vocabulary Seven Ypes: Any Text

The document discusses the basic concepts of JavaScript including: 1. The 6 primitive data types in JavaScript: string, number, boolean, null, undefined, symbol. 2. Variables are used to store and reference values using keywords like var, let, and const. 3. Objects are used to store key-value pairs of data and can contain methods which are functions assigned to keys.

Uploaded by

Greet Labs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

< > iLoveCoding avaScript heatsheet

age

earn ava cript orrectly ( ideo course) https: ilovecoding.org courses s

1 Seven ypes 2 Basic Vocabulary

{
Variable Operator
. tring "Any text" A named reference to perators are reserved words that
Six rimitive ypes

a value is a variable. perform action on values and variables.


. umber 123.45
Examples: in typeof ...
. oolean true or false
. ull null { Statement
. nde ned undefined var a = 7 + "2"; A group of words, numbers
and operators that do a

{
. ymbol Symbol somet in task is a statement.

Note: var, let &


7. b ect ey value const are all Keyword / reserved word
Array 1 "text" false valid keywords to Any word that is part of Expression
declare variables. the vocabulary of the
unction function name The difference A reference, value or a
between them is
programming language is group of reference(s)
covered on page 7 called a keyword and value(s) combined
of this cheatsheet. (a.k.a reserved word). with operator(s), which
Ob ect Examples: var if for... result in a single value.

An ob ect is a data type in var user =


ava cript that is used to store
a combination of data in a
simple key value pair. Thats it.
name
year f irt
"A i

calculateA e
Ali"
1
function
{ Value
These are the
values of the
respective keys
ethod
f a key has a
function as a
value, its called
Key some code to calculate a e in user ob ect. a method.
These are the
keys in user ob ect.

iLoveCoding
"Don't just learn JavaS r t e o e a ull Sta JavaS r t Develo er" https: i ove oding.org
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding
iLoveCoding

iLoveCoding

You might also like