From cb394a6c790673e6e67c35ea87cfe38f403b3d0e Mon Sep 17 00:00:00 2001 From: nishanth2143 Date: Sun, 11 Oct 2020 11:49:50 +0530 Subject: [PATCH] Update isIsogram.md --- snippets/isIsogram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/isIsogram.md b/snippets/isIsogram.md index e26e7683b..ba554c229 100644 --- a/snippets/isIsogram.md +++ b/snippets/isIsogram.md @@ -8,7 +8,7 @@ Creates a function that accepts a string parameter and output whether its an iso - Use `String.toLowerCase()` to convert the string to lowercase letters. - Use `String.prototype.split()`, `String.prototype.indexOf()` and `Array.prototype.every()` to split the string into substrings, run a test for all the elements in that array and finally return the index of first occurence of a specified value in a string. - Function returns true if the string is an isogram (that is no letter is repeated) else returns false. -- Returns false is called with no parameter. +- Returns false if called with no parameter. ```js const isIsogram = (str = null) => {