There is lack iof information on the exercise in this section:
Even if the values of the items in the variable “order” are both 0, you always get the resolve value. See the screenshot:
I know it has to do with the variable “let inStock” in library.js:
let inStock = order.every(item => inventory[item] >= item);
I do not understand the logic. I don´t get why it stil returns a resolvedValue, altough I set both values to 0.
Can someone explain me why?