Glossary

?
  • Created by: dodo1818
  • Created on: 18-01-19 11:28
var
Keyword for declaring a variable that is function scoped
1 of 6
let
Keyword for declaring a variable that is block scoped & can be assigned a new value
2 of 6
const
Keyword for declaring a variable that is block scoped & cannot be reassigned to a new value
3 of 6
Scope
Defines where variables and functions are accessible in a programme
4 of 6
Function Scope
A type of scope where the variable statement is inside a FunctionDeclaration and as such can only be accessed inside that function
5 of 6
Block Scope
A type of scope where the variable statement is only available within the block ({}) it was created
6 of 6

Other cards in this set

Card 2

Front

Keyword for declaring a variable that is block scoped & can be assigned a new value

Back

let

Card 3

Front

Keyword for declaring a variable that is block scoped & cannot be reassigned to a new value

Back

Preview of the back of card 3

Card 4

Front

Defines where variables and functions are accessible in a programme

Back

Preview of the back of card 4

Card 5

Front

A type of scope where the variable statement is inside a FunctionDeclaration and as such can only be accessed inside that function

Back

Preview of the back of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Javascript resources »