InstruçÔes
Passo 24
Um objeto
Set permite que vocĂȘ armazene valores Ășnicos de qualquer tipo. VocĂȘ pode criar um conjunto vazio usando o construtor Set:
const mySet = new Set();
Crie uma função chamada displayPlantsSet e faça-a retornar um novo objeto Set.
O que fazer:
Testes:
- VocĂȘ deve ter uma função chamada `displayPlantsSet`.
- Sua função `displayPlantsSet` deve retornar um objeto `Set` vazio.
Console