diff --git a/data/blog/js/how-to-check-if-character-is-double-quote-in-js.mdx b/data/blog/js/how-to-check-if-character-is-double-quote-in-js.mdx index fb3f9aa..8d68986 100644 --- a/data/blog/js/how-to-check-if-character-is-double-quote-in-js.mdx +++ b/data/blog/js/how-to-check-if-character-is-double-quote-in-js.mdx @@ -113,11 +113,6 @@ In this example, we use the `indexOf()` method to check if the character `char` - A similar solution is provided with a slight variation: - `if((str.indexOf('\'') > -1) && (str.indexOf('"') > -1)) { //Code here }` -### 🗣️ Community Interaction -- 💬 Users commented on the clarity of the question and provided additional insights or corrections. -- 👥 Some responses highlighted the importance of respectful communication in coding communities. - - ## Comparison | Method | Description |