How to rewrite this code without continue?

 if (r.query.keyword.indexOf(this.keyList[i].name) >= 0) {
            continue;
          } else {
            this.keyList = this.keyList.slice(0, i);
            break;
          }

there is a for loop on the outside

Apr.27,2021

if (r.query.keyword.indexOf(this.keyList[i].name) < 0) {
     this.keyList = this.keyList.slice(0, i);
     break;
 }
Menu