About 2,480,000 results
Open links in new tab
  1. What does the !! (double exclamation mark) operator do in …

    Novice JavaScript developers need to know that the "not not" operator is using implicitly the original loose comparison method instead of the exact === or !== operators and also the …

  2. Which equals operator (== vs ===) should be used in JavaScript ...

    Dec 11, 2008 · I'm using JSLint to go through JavaScript, and it's returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing …

  3. Difference between == and === in JavaScript - Stack Overflow

    Feb 7, 2009 · What is the difference between == and === in JavaScript? I have also seen != and !== operators. Are there more such operators?

  4. Usage of the backtick character (`) in JavaScript

    Dec 28, 2014 · 4 The backtick character (`) in JavaScript is used to define template literals. A template literal is a special type of string that allows you to embed expressions, which are …

  5. Wait 5 seconds before executing next line - Stack Overflow

    This function below doesn’t work like I want it to; being a JS novice I can’t figure out why. I need it to wait 5 seconds before checking whether the newState is -1. Currently, it doesn’t wait, i...

  6. What is the correct way to check for string equality in JavaScript ...

    Aug 27, 2010 · What is the correct way to check for string equality in JavaScript? Asked 15 years, 2 months ago Modified 3 years, 2 months ago Viewed 1.8m times

  7. How to remove all event listeners of a DOM object in JavaScript?

    How to remove all event listeners of a DOM object in JavaScript? Asked 14 years, 11 months ago Modified 1 month ago Viewed 240k times

  8. JavaScript hide/show element - Stack Overflow

    Learn how to use JavaScript to hide or show elements on a webpage effectively.

  9. javascript - How do I create a GUID / UUID? - Stack Overflow

    May 7, 2019 · How do I create GUIDs (globally-unique identifiers) in JavaScript? The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble …

  10. Newest 'javascript' Questions - Stack Overflow

    2 days ago · JavaScript (a dialect of ECMAScript) is a high-level, multi-paradigm, object-oriented, prototype-based, dynamically-typed, and interpreted language traditionally used for client-side …