Add missing semicolon

This commit is contained in:
Rohit Tanwar
2018-02-18 11:24:04 +05:30
committed by GitHub
parent 6c6503e8b1
commit 0fc5338b1b

View File

@ -23,11 +23,11 @@ fuzzySearch = (patrn, str) => {
} }
return patternLength !== 0 && strLength !== 0 && patternIdx === patternLength ? true : false; return patternLength !== 0 && strLength !== 0 && patternIdx === patternLength ? true : false;
} };
``` ```
``` js ``` js
fuzzySearch('rt','Rohit'); // true fuzzySearch('rt','Rohit'); // true
fuzzySearch('tr','Rohit'); // false fuzzySearch('tr','Rohit'); // false
``` ```