Austin Coding Academy Blog Post #3

matt coston
1 min readAug 15, 2020

--

  1. Describe one thing you’re learning in class today. Answer: I learned more about the bing method and the usage of this.
  2. What’s the difference between: function Person(){}, var person = Person(), and var person = new Person()? Answer: See fhttps://webdevwithsam.wordpress.com/2016/04/19/function-person-vs-var-person-person-vs-var-person-new-perso/ for conicse explanation.
  3. What’s the difference between an “attribute” and a “property”? Answer: An attribute checks the status of something. A property is inherent to the item being checked. An attribute could be is a checkbox checked or not. A property of that checkbox would be if it had a name etc.
  4. What language constructions do you use for iterating over object properties and array items? Answer: For loops, For in loops, For Each loops. Map. Reduce.
  5. What is the event loop? Answer: See https://flaviocopes.com/javascript-event-loop/ for answer.
  6. What is the difference between call stack and task queue? Answer: See https://medium.com/jsninja/call-stack-event-loop-and-task-queue-d49eff2ec7bb for explanation on these.
  7. What are the differences between ES6 class and ES5 function constructors? Answer: There was no class keyword in ES5 so you used functions and the this keyboard for classes. ES6 supports the class keyword.

--

--

matt coston
matt coston

Written by matt coston

0 Followers

Hey there! I'm an IT manager by day, and I dabble in all things web development by night.

No responses yet