Section 1

Preview this deck

Keyword: var

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (6)

Section 1

(6 cards)

Keyword: var

Front

Used to declare a variable, optionally initializing it to a value. Subject to hoisting in the scope context where it is declared.

Back

Keyword: const

Front

Used to declare a block scope variable that cannot be reassigned or re-declared

Back

this.method()

Front

Back

Parts of function: namePrinter (name) {console.log(name}

Front

namePrinter = descriptive name of the function, name = parameter, the name of the argument(s) to be passed into the function, console.... = code statements that comprise the body of the function

Back

Keyword: function ()

Front

Defines a function with the specified parameters

Back

Keyword: let

Front

Used to declare a block scope local variable, optionally initializing it to a value

Back