I'm trying to write a Javascript function to find indices of all occurrences of a word in a text document. Currently this is what I have-- //function that find
comparable
ejabberd-hooks
apache-pulsar
sysv
kobotoolbox
ldap-query
datagridviewimagecolumn
swupdate
vault
helpfile
2dsphere
react-native-fast-image
typeerror
checkboxlist
friend-class
apostrophe
hidl
ssrs-2016
quora
vivado
facebook-c#-sdk
2sxc
automapper-5
at-command
s5
.doc
hosting
cake-pattern
idris
facebook-sdk-4.0