About 1,430,000 results
Open links in new tab
  1. JavaScript Data Types - W3Schools

    JavaScript has dynamic types. This means that the same variable can be used to hold different data types: A string (or a text string) is a series of characters like "John Doe". Strings are …

  2. String - JavaScript | MDN - MDN Web Docs

    Apr 10, 2025 · Strings are useful for holding data that can be represented in text form. Some of the most-used operations on strings are to check their length, to build and concatenate them …

  3. JavaScript Data Types - GeeksforGeeks

    Mar 8, 2025 · In JavaScript, each value has a data type, defining its nature (e.g., Number, String, Boolean) and operations. Data types are categorized into Primitive (e.g., String, Number) and …

  4. Data types - The Modern JavaScript Tutorial

    Jul 9, 2024 · There are eight basic data types in JavaScript. Here, we’ll cover them in general and in the next chapters we’ll talk about each of them in detail. We can put any type in a variable. …

  5. Strings - web.dev

    Mar 31, 2024 · Any set of characters—letters, numbers, symbols, and so on—between a set of either double quotation marks ("), single quotation marks ('), or backticks (`) is a string …

  6. JavaScript String (with Examples) - Programiz

    In JavaScript, we create strings by surrounding them with quotes or backticks. Single quotes and double quotes are practically the same, and you can use either of the two. Backticks are …

  7. What is a String in JS? The JavaScript String Variable Explained

    Feb 3, 2023 · In JavaScript, a string is a data type representing a sequence of characters that may consist of letters, numbers, symbols, words, or sentences. We use strings to represent …

  8. Understanding the JavaScript Data Types - Tutorial Republic

    There are six basic data types in JavaScript which can be divided into three main categories: primitive (or primary), composite (or reference), and special data types. String, Number, and …

  9. JavaScript String Data Type: Features and Examples

    Understanding how to work with strings is essential when programming in JavaScript, as it allows you to handle text-based data effectively. The String data type in JavaScript is used for text. It …

  10. JavaScript DataTypes

    Data in JavaScript comes in various types like numbers, strings (which are just texts), booleans (true/false), arrays (lists of stuff), objects (bundles of related data), and other types to …

  11. Some results have been removed