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
{{ message }}
This repository has been archived by the owner on May 1, 2023. It is now read-only.
What you've done here is assigned your array to the pokemons property on the exports object:
exports.pokemons=[pokemonlists]
When importing a module, it's export object is what you receive, so you'll need to access the pokemons property from the imported object to actually get the array you intended to work with. So you'll want something like (for ES6+):
I am pretty sure I did it correctly I have the first as a string and the second as an array the code is
arrays file
The text was updated successfully, but these errors were encountered: