About 55 results
Open links in new tab
  1. Number - JavaScript | MDN - MDN Web Docs

    JavaScript has some lower-level functions that deal with the binary encoding of integer numbers, most notably bitwise operators and TypedArray objects. Bitwise operators always convert the …

  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 …

    Missing:
    • prime number
    Must include:
  3. Basic math in JavaScript — numbers and operators - MDN Web Docs

    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.

  4. Array.prototype.findIndex () - JavaScript | MDN

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

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

    Missing:
    • prime number
    Must include:
  6. Array.prototype.find () - JavaScript | MDN

    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.

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

  8. JavaScript reference - JavaScript | MDN - MDN Web Docs

    Jul 29, 2025 · The JavaScript reference serves as a repository of facts about the JavaScript language. The entire language is described here in detail. As you write JavaScript code, you'll …

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

    Missing:
    • prime number
    Must include:
  10. Number () constructor - JavaScript - MDN

    The Number () constructor creates Number objects. When called as a function, it returns primitive values of type Number.