Merge pull request #1012 from maurodibert/patch-49

Update solution.md
This commit is contained in:
Ilya Kantor 2019-05-25 15:26:34 +03:00 committed by GitHub
commit 09db684a7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
To make the search case-insensitive, let's bring the string to lower case and then search: To make the search case-insensitive, let's bring the string to lower case and then search:
```js run ```js run demo
function checkSpam(str) { function checkSpam(str) {
let lowerStr = str.toLowerCase(); let lowerStr = str.toLowerCase();