I am writing a website game in javascript where the user shall spell words with a given set of letters. I am wondering if there is some simple functionality in javascript to check if a string is an actual word (english words)? The user choses a set of letters to form a word, I turn it into a string and then when they click a button the spell check should occur.
I think it feels a bit complicated to make some list of the entire english dictionary and check against that list so I hope there is some spellcheck function or something that can be used.
Thank you!