简体   繁体   中英

Javascript Detect if a word is a word

How do you detect if a word is a word in javascript? For example: yes , sleep , thanks and triangle are words, and things like dsjf , quicaaa , and zrebon aren't words.

How do you detect if a word is a word in javascript? For example: yes , sleep , thanks and triangle are words, and things like dsjf , quicaaa , and zrebon aren't words.

There is no built in way to do this in javascript, however you could use an api or import a module that does this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM