Blog Post 203

Aaron Cook
1 min readOct 15, 2020
  1. Describe one thing you’re learning in class today.

Higher order functions.

2.What’s the difference between: function Person(){}, var person = Person(), and var person = new Person()?

The first is creating a function, the second is setting a variable to a function, and the third is setting an object to a variable.

3.What’s the difference between an “attribute” and a “property”?

Attributes are only ever strings where properties can be other types.

4.What language constructions do you use for iterating over object properties and array items?

Functions

5.What is the event loop?

It is what JS is based off of.

6.What is the difference between call stack and task queue?

Call Stack is a stack of routines while a Task Queue is a line of things to do.

7.What are the differences between ES6 classes and ES5 function constructors?

ES6 gives us more short hand options than ES5 does. A big one is ‘new’ which allows for the creation of new objects.

--

--