From b95929d4e8979759f8394badd4f70206e1d48ba0 Mon Sep 17 00:00:00 2001 From: Chalarangelo Date: Sun, 4 Sep 2022 12:47:02 +0300 Subject: [PATCH] Fix typos --- snippets/palindrome.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/palindrome.md b/snippets/palindrome.md index f8a00a5da..c1b893758 100644 --- a/snippets/palindrome.md +++ b/snippets/palindrome.md @@ -11,7 +11,7 @@ Checks if the given string is a palindrome. - Normalize the string to `String.prototype.toLowerCase()` and use `String.prototype.replace()` to remove non-alphanumeric characters from it. - Use the spread operator (`...`) to split the normalized string into individual characters. -- Use `Array.prototype.reverse()`, `String.prototype.join()` and compare the result to the normalized string. +- Use `Array.prototype.reverse()`, `Array.prototype.join()` and compare the result to the normalized string. ```js const palindrome = str => {