- What will this print out and why?
console.log(0.1 + 0.2);
console.log((0.1 + 0.2) === 0.3);
-
Describe what the
'use strict';
expresion does -
Do you know what an object prototype is? Do you know how to declare a class in JS? Show me
-
Do you know what the difference is between
let
,const
andvar
are? Can you show me with an example? -
Do you know what an
arrow function
is in JS? -
What would you use to pull out a list of id-s of each object of this array?
const array = [
{
id: 1,
foo: 'bar',
},
{
id: 2,
bar: 'foo',
}
]
This is what I based myself off of and then I start throwing some random other questions.