Add missing semicolon
This commit is contained in:
@ -23,11 +23,11 @@ fuzzySearch = (patrn, str) => {
|
||||
}
|
||||
|
||||
return patternLength !== 0 && strLength !== 0 && patternIdx === patternLength ? true : false;
|
||||
}
|
||||
};
|
||||
```
|
||||
|
||||
|
||||
``` js
|
||||
fuzzySearch('rt','Rohit'); // true
|
||||
fuzzySearch('tr','Rohit'); // false
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user