I want to make a hangman game and I need to access the words with javascript. But where should I store these words? Is it directly with a const or something else? Can you help me please?
What's wrong with this?
const words = ['word', 'words', 'wordy', 'worldly', ...]
If you show us the format your list of words is in we could provide a more specific solution.