About 17,100,000 results
Open links in new tab
  1. 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 …

  2. How do you use the ? : (conditional) operator in JavaScript?

    Jun 7, 2011 · What is the ?: (question mark and colon operator aka. conditional or "ternary") operator and how can I use it?

  3. 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 …

  4. What's the difference between & and && in JavaScript?

    What's the difference between & and && in JavaScript? Asked 13 years, 9 months ago Modified 1 year, 2 months ago Viewed 142k times

  5. What does % do in JavaScript? - Stack Overflow

    Dec 6, 2015 · What does the % do in JavaScript? A definition of what it is and what it does would be much appreciated.

  6. What is the purpose of the dollar sign in JavaScript?

    Mar 29, 2022 · Javascript does have types; and in any case, how is the dollar sign even related to that? It's just a character that happens to be a legal identifier in Javascript.

  7. How does the double exclamation (!!) work in JavaScript?

    Mar 28, 2015 · How does the double exclamation (!!) work in JavaScript? [duplicate] Asked 10 years, 2 months ago Modified 1 year, 3 months ago Viewed 243k times

  8. What is the meaning of "$" sign in JavaScript - Stack Overflow

    May 25, 2018 · JavaScript allows upper- and lower-case letters (in a wide variety of scripts, not just English), numbers (but not at the first character), $, _, and others.¹ Prototype, jQuery, and …

  9. Is there a "null coalescing" operator in JavaScript?

    Jan 25, 2009 · JavaScript now supports the nullish coalescing operator (??). It returns its right-hand-side operand when its left-hand-side operand is null or undefined, and otherwise returns …

  10. javascript - What does [object Object] mean? - Stack Overflow

    In JavaScript there are 7 primitive types: undefined, null, boolean, string, number, bigint and symbol. Everything else is an object. The primitive types boolean, string and number can be …