Level 2 Level 4
Level 3

My Variables Keep Changing


8 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
scope
A variable or function's ____ determines who and what has access to it. Scopes can either be local or global.
outside
Global variables are declared ____ of a function and are available to any other part of the script
local
A variable declared inside of a function is a ____ variable and is only available within that function
flow
Block statements, delimited by curly braces ({ }) , let you control the ____ of your program.
let
Variables are usually local to the function within which they are declared, but by utilizing the ____ keyword you can make a variable local to the block it was declared in.
hoisting
To avoid problems around the concept of ____, remember to always declare your variables as near to the top of your functions as possible.
window
Global variables are properties of the global object. In web pages the global object is ____.
const
Constants are variables that cannot be changed after they have been created. To declare a constant use the ____ keyword. Constants cannot have the same name as a variable or a function within the same scope.