About 50 results
Open links in new tab
  1. multiple conditions for JavaScript .includes () method

    Jun 18, 2016 · Just wondering, is there a way to add multiple conditions to a .includes method, for example: var value = str.includes("hello", "hi", "howdy"); Imagine the comma states "or". It's …

  2. javascript - key-words highlight in <textarea> (again) - Stack …

    Apr 5, 2010 · Wait, I know! I know that this "syntax highlight in textarea"-question was raised like a million times on stackoverflow! But, please, listen. offtopic: I'm not a web-developer, and …

  3. javascript - How to check text input changes for certain words?

    Apr 30, 2019 · How to check text input changes for certain words? Asked 6 years, 9 months ago Modified 6 years, 9 months ago Viewed 3k times

  4. javascript - How to find key words in paragraph of text ... - Stack ...

    Apr 12, 2019 · I'm trying to find a fast (milliseconds or seconds) solution for having an inputted block of text and a large list (11 million) of specific words/phrases to test against. So I would …

  5. javascript - Counting words in string - Stack Overflow

    Sep 8, 2013 · This will match and return the number of words in your string. Rather then the one you marked as a solution, which would count space-space-word as 2 words even though its …

  6. javascript - How can I censor any words from a textarea that are ...

    Jun 28, 2022 · I currently have it set so that any word from a key list of words ( currently red ) gets censored, but would like to change it to any word between quotations (" ") becomes censored. …

  7. javascript - How to extract certain words from an array ... - Stack ...

    Jul 6, 2019 · How to extract certain words from an array? Asked 6 years, 7 months ago Modified 6 years, 7 months ago Viewed 1k times

  8. How can I access a JavaScript object which has spaces in the …

    7 Properties of JavaScript objects can also be accessed or set using a bracket notation (for more details see property accessors). Objects are sometimes called associative arrays since each …

  9. javascript - Return specific key (field) from fetch api response …

    Jun 6, 2022 · Return specific key (field) from fetch api response object Asked 3 years, 8 months ago Modified 3 years, 8 months ago Viewed 2k times

  10. language lawyer - Do reserved words need to be quoted when set …

    Oct 24, 2016 · Given an object literal, or jQuery(html, attributes) object, does any specification state that reserved words, or future reserved words MUST be quoted? Or, can, for example, …