Seems like you are doing this twice. Is there a way you might simplify this if statement to be clearer? So, for instance this nested if may likely be taken outside of its nested level:

```
if(index === word.length){
  this.isWord = true;
}
```