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
valign
createmlui
cgroups
rhino-mocks
nss
higher-order-types
xwayland
paketo
systemd-timer
powerbi-desktop
android-embedded-api
react-select-async-paginate
netflix-nebula-plugins
auto-tuning
gulp-nunjucks-render
wso2-apim
kitchen-azurerm
adaptive-threshold
elasticsearch-indices">elasticsearch-indices
glance
springjunit4classrunner
tablemodel
sortedset
ruby-on-rails-4.2
template-literals
icollectionview
68hc08
cross-origin-resource-policy
set-include-path
money-rails