JavaScript
JavaScript
JavaScript
JavaScript
JavaScript
100

A block of code designed to perform a particular task.

It is executed when "something" invokes it (calls it).

What is a function?

100

This keyword was introduced in ES6 that will allow variables to reassign to different values. 

What is a let keyword?

100
Variables defined by this cannot be reassigned to a different value. And initialization must take place when declared.

What is a const keyword?

100

These can operate arithmetic on values. 

What are operators?

100

This operator can assign values to variables.

What is the assignment operator?

200

These refer to the collection of values which are associated with the JavaScript object

What are properties?

200

Here are examples of what JavaScript can "react" to

  • An HTML web page has finished loading
  • An HTML input field was changed
  • An HTML button was clicked

What are events?

200

This built-in array method will return a number that represents the number of values in an array of number of characters in a string.

What is the length method?

200

This method calls a function (a callback function) once for each array element.

What is forEach?

200

These variables can be accessed from anywhere in a JavaScript program.

What are global variables?

300

This determines the accessibility of variables, objects, and functions from different parts of the code.

What is scope?

300

This is JavaScript's default behavior of moving declarations to the top of their scope.

What is hoisting?

300

JavaScript allows for the nesting of functions and grants the inner function full access to all the variables and functions defined inside the outer function (and all other variables and functions that the outer function has access to).

What are closures?

300

This is a template for JavaScript objects.

What is a class?
300

This is an object but goes by a different name when created by a class.

What is an instance?

400

In JavaScript, this refers to an object dependent upon its context of usage. You typically see this usage in classes.

What is the 'this' keyword?

400

This method is invoke when an instance is a created.

What is a constructor?

400

These allow you to break up your code into separate files.

What are modules?

400

This is used to import bindings that are exported by another module. 



What is the Javascript import statement?

400

This is a format for storing and transporting data.

This is often used when data is sent from a server to a web page.

What is JSON?

500

These are repeatable approaches for errors that arise sometimes when building JavaScript browser applications. They truly assist us in making our code more stable.

What are JavaScript design patterns?

500

This represents the eventual completion (or failure) of an asynchronous operation and its resulting value.

What is promise?

500

Functions that operate on other functions, either by taking them as arguments or by returning them.

What are higher order functions?

500

What will this print?

let x = 0;

logX(10);

function logX(x) {

  logX2(x + 2);

}

function logX2(x) {

  console.log(x + 2);

}

What is 14?

500

What will the log print? 

let x = 0;

{

  let x = 5;

  {

    let x = 10;

    {

      let x = 15;

      {

        let x = 20;

      }

    }

  }

}

console.log(x);

What is 0?

M
e
n
u