WorksheetsTLE Q3 M5
Total questions: 10
Worksheet time: 3mins
It behaves like a let keyword.
CONST
IF
VAR
LET
The __________ keyword is a constant variable therefore it cannot be
reassigned.
CONST
IF
VAR
LET
JavaScript const variables must be assigned a __________ when they are
declared.
ELEMENT
VALUE
NAME
PROPERTY
Before ES2015 JavaScript have Block Scope already.
TRUE
FALSE
Redeclaring or reassigning an existing var or let variable to const, in the same
scope, or in the same block, is __________.
NOT ALLOWED
ALLOWED
DEFINED
INITIALIZED
A ______ variable means that the variable defined within a block will not be accessible from outside the block.
FUNCTION SCOPE
GLOBAL SCOPE
LOCAL SCOPE
BLOCK SCOPE
When variables are declared within a function or a block, they are ______ scoped.
GLOBALLY
LOCALLY
BLOCK
FUNCTION
JavaScript var variables must be assigned a value when
they are declared.
TRUE
MAYBE
FALSE
I DON'T KNOW
If we assign a primitive value to a constant,
we cannot change the primitive value.
TRUE
MAYBE
FALSE
I DON'T KNOW
In JavaScript, arrays use numbered indexes.
FALSE
TRUE
MAYBE
I DON'T KNOW
