Estruturas de dados básicas - Adicionar pares de chave-valor a objetos JavaScript

Conte-nos o que está acontecendo:
Hello. There is an error in the description of the tests for this exercise: " The foods object must have the strawberries key with the value of 35 .", but the correct one would be 27 and not 35.

Seu código até o momento

let foods = {
  apples: 25,
  oranges: 32,
  plums: 28
};

// Altere apenas o código abaixo desta linha
foods.bananas = 13
foods.grapes = 35
foods.strawberries = 27
// Altere apenas o código acima desta linha

console.log(foods);

Informações de seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

Desafio: Estruturas de dados básicas - Adicionar pares de chave-valor a objetos JavaScript

Link para o desafio:

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.