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
inversion
dir
include-what-you-use
ember-cli
zoomus
lpstr
wildfly-11
gridjs
offsetof
apic
system.data.oracleclient
esi
watchos
docking
facebook-live-api
javascript-api-for-office
endianness
child-nodes
owin-middleware
blurry
service-level-agreement
recaptcha-enterprise
dry-rb
roslyn
owl-api
msgraph
partial-page-refresh
date-formatting
filetable
primality-test