Enumerate not fully translating to JS?

@aisa2, I am not sure enumerate will work. The equivalent JS would be :

for ([i, j] of dictList['list'].entries()) {
  if (j === thisList) {
    wordIdx.append(i)  // see Wakefields crib sheet for append
  }
}