About 51 results
Open links in new tab
  1. Array.prototype.find () - JavaScript | MDN - MDN Web Docs

    Jul 20, 2025 · Find the first prime number in an array The following example returns the first element in the array that is a prime number, or undefined if there is no prime number.

  2. Math - JavaScript | MDN - MDN Web Docs

    Jul 10, 2025 · All properties and methods of Math are static. Note: Many Math functions have a precision that's implementation-dependent. This means that different browsers can give a different result. Even …

    Missing:
    • prime number logic
    Must include:
  3. Expressions and operators - JavaScript - MDN

    Jul 8, 2025 · This chapter describes JavaScript's expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more.

  4. Basic math in JavaScriptnumbers and operators

    Aug 18, 2025 · At this point in the course, we discuss math in JavaScript — how we can use operators and other features to successfully manipulate numbers to do our bidding.

  5. Expressions and operators - JavaScript | MDN - MDN Web Docs

    Jul 8, 2025 · This chapter documents all the JavaScript language operators, expressions and keywords.

    Missing:
    • prime number logic
    Must include:
  6. JavaScript data types and data structures - JavaScript | MDN

    Jul 8, 2025 · Programming languages all have built-in data structures, but these often differ from one language to another. This article attempts to list the built-in data structures available in JavaScript …

    Missing:
    • prime number logic
    Must include:
  7. JavaScript reference - JavaScript | MDN - MDN Web Docs

    Jul 29, 2025 · If you are new to JavaScript, start with the guide. Once you have a firm grasp of the fundamentals, you can use the reference to get more details on individual objects and language …

    Missing:
    • prime number logic
    Must include:
  8. JavaScript Guide - JavaScript | MDN - MDN Web Docs

    Nov 7, 2025 · The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript …

    Missing:
    • prime number logic
    Must include:
  9. Numbers and strings - JavaScript - MDN

    Aug 26, 2025 · This chapter introduces the two most fundamental data types in JavaScript: numbers and strings. We will introduce their underlying representations, and functions used to work with and …

  10. JavaScript - MDN Web Docs

    Oct 2, 2025 · JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions. While it is most well-known as the scripting language for Web …

    Missing:
    • prime number logic
    Must include: