You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Wouter,
Nice work. Everything works and no eslint errors. The code is clear and easy to read.
Good work!
Below are some points I ran into while going through each file.
step1.js
impressive number of languages. ;-)
step4.js
you are missing the second part of the exercise. Did you forget to push it? You are supposed to assign a new string value to the variable and then repeat the first two steps with this new value.
step5.js
I would use the variable values rather than hard-coding the numbers in again.
i.e. console.log(Math.max(z, a));
rather than console.log(Math.max(7.25, 7));
step6.js
You logged what you thought the value of the empty array would be, but not what it actually is
You did not log the animal array before adding the pig.
step8.js
let carBrand = ['bmw', ' volvo', 'toyota']; because it is an array (i.e. a collection of values) you should give it a plural name. e.g. carBrands
for bonus marks: You could have included the two values for the "not same type" statements. 😄
step10.js
While there are no greater or lesser values of infinity (well actually in discrete mathematics there are, but that is not handled by the javascript interpreter. 😉 ), you can compare whether two infinities are equal, and in javascript they are considered equal.
The text was updated successfully, but these errors were encountered:
Hi Wouter,
Nice work. Everything works and no eslint errors. The code is clear and easy to read.
Good work!
Below are some points I ran into while going through each file.
step1.js
step4.js
step5.js
i.e.
console.log(Math.max(z, a));
rather than
console.log(Math.max(7.25, 7));
step6.js
step8.js
let carBrand = ['bmw', ' volvo', 'toyota'];
because it is an array (i.e. a collection of values) you should give it a plural name. e.g.carBrands
step10.js
The text was updated successfully, but these errors were encountered: