{
 "article": "https://w.n14n.dev/javascript/",
 "title": "JavaScript",
 "how_to_cite": "Cite the source of a claim, not this article. The article is an AI-written summary.",
 "how_claims_link": "A section lists the claims of the sources it cites, so a claim supports the section, not one sentence.",
 "verified_values": {
  "verified": "a verifier found the quote on the source page",
  "rejected": "a verifier read the source page and did not find the quote, or found it does not support the claim",
  "blocked": "a verifier could not open the source page, so the quote is unconfirmed",
  "unchecked": "never put to a verifier"
 },
 "read_values": {
  "raw": "the full text was read",
  "extracted": "large parts of the text were read",
  "abstract": "only the abstract was read",
  "snippet": "only a search snippet or summary was read",
  "blocked": "the page could not be opened"
 },
 "grade_values": {
  "solid": "the research rated the source highly trustworthy, and a verifier found every passage taken from it",
  "weak": "the research rated the source low, or a verifier did not find a passage taken from it",
  "medium": "the research rated the source medium; neither weak nor solid",
  "unchecked": "the research rated the source high, but a verifier could not check every passage taken from it (page blocked or not checked)",
  "retracted": "the work was retracted or withdrawn after publication; the article cites it only to say so"
 },
 "evidence_values": {
  "contested": "studies disagree on this",
  "weak": "few or small studies support this",
  "failed-replication": "when the study was repeated, the original result did not appear",
  "strong": "many studies agree on this",
  "replicated": "when other teams repeated the study, the original result appeared again",
  "null": "no note: the article does not single out the section's evidence"
 },
 "sections": [
  {
   "title": "Lead",
   "anchor": "lead",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-2",
    "javascript-typescript:C-history-4",
    "javascript-typescript:C-empirical-24",
    "javascript-typescript:C-history-29",
    "javascript-typescript:C-history-28",
    "javascript-typescript:C-empirical-20",
    "javascript-typescript:C-history-1",
    "javascript-typescript:C-history-36",
    "javascript-typescript:C-history-37",
    "javascript-typescript:C-history-23",
    "javascript-typescript:C-history-26",
    "javascript-typescript:C-history-27",
    "javascript-typescript:C-history-35",
    "javascript-typescript:C-history-5"
   ]
  },
  {
   "title": "Origins and standardization",
   "anchor": "origins-and-standardization",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-1",
    "javascript-typescript:C-empirical-20",
    "javascript-typescript:C-history-3",
    "javascript-typescript:C-history-2",
    "javascript-typescript:C-history-36",
    "javascript-typescript:C-history-37",
    "javascript-typescript:C-history-4",
    "javascript-typescript:C-history-6",
    "javascript-typescript:C-history-7",
    "javascript-typescript:C-history-35",
    "javascript-typescript:C-history-23",
    "javascript-typescript:C-history-26",
    "javascript-typescript:C-history-27",
    "javascript-typescript:C-history-5"
   ]
  },
  {
   "title": "The fourth edition debate",
   "anchor": "the-fourth-edition-debate",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-29",
    "javascript-typescript:C-history-28",
    "javascript-typescript:C-empirical-21",
    "javascript-typescript:C-history-5",
    "javascript-typescript:C-history-23",
    "javascript-typescript:C-history-30",
    "javascript-typescript:C-history-26",
    "javascript-typescript:C-history-27",
    "javascript-typescript:C-history-35",
    "javascript-typescript:C-history-4"
   ]
  },
  {
   "title": "Objects, conversions and modules",
   "anchor": "objects-conversions-and-modules",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-27",
    "javascript-typescript:C-history-20",
    "javascript-typescript:C-history-23",
    "javascript-typescript:C-history-26",
    "javascript-typescript:C-history-35",
    "javascript-typescript:C-history-4",
    "javascript-typescript:C-history-5",
    "javascript-typescript:C-history-21",
    "javascript-typescript:C-history-22"
   ]
  },
  {
   "title": "How asynchronous code runs",
   "anchor": "how-asynchronous-code-runs",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-history-17",
    "javascript-typescript:C-history-18",
    "javascript-typescript:C-history-19",
    "javascript-typescript:C-history-16",
    "javascript-typescript:C-history-34",
    "javascript-typescript:C-empirical-25",
    "javascript-typescript:C-empirical-24"
   ]
  },
  {
   "title": "Faults in browsers and Node.js",
   "anchor": "faults-in-browsers-and-node-js",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-6",
    "javascript-typescript:C-empirical-8",
    "javascript-typescript:C-empirical-9",
    "javascript-typescript:C-empirical-16"
   ]
  },
  {
   "title": "npm dependencies",
   "anchor": "npm-dependencies",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-11",
    "javascript-typescript:C-empirical-2",
    "javascript-typescript:C-empirical-19"
   ]
  },
  {
   "title": "Use in surveys and on GitHub",
   "anchor": "use-in-surveys-and-on-github",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-12",
    "javascript-typescript:C-empirical-13"
   ]
  },
  {
   "title": "Further reading",
   "anchor": "further-reading",
   "evidence": null,
   "claims": [
    "javascript-typescript:C-empirical-20",
    "javascript-typescript:C-history-1",
    "javascript-typescript:C-history-2",
    "javascript-typescript:C-history-36",
    "javascript-typescript:C-history-37",
    "javascript-typescript:C-history-17",
    "javascript-typescript:C-history-18",
    "javascript-typescript:C-history-19",
    "javascript-typescript:C-empirical-2"
   ]
  }
 ],
 "claims": [
  {
   "id": "javascript-typescript:C-history-2",
   "claim": "The language was intended to let people embed snippets of code in web pages.",
   "quote": "enabled snippets of code to be included in the definitions of Web pages",
   "source": {
    "id": "javascript-typescript:S-history-1",
    "key": "wirfsbrock2020",
    "author": "Wirfs-Brock, Allen and Eich, Brendan",
    "year": "2020",
    "title": "JavaScript: The first 20 years",
    "publisher": "Proceedings of the ACM on Programming Languages, 4(HOPL), Article 77",
    "url": "https://www.wirfs-brock.com/allen/jshopl.pdf",
    "in_text": "Wirfs-Brock & Eich (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "first-hand historical account by participants, with documents in appendices; narrative without measured results; authors helped create what they describe"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-4",
   "claim": "The first ECMAScript standard was adopted in June 1997.",
   "quote": "The first edition of this Ecma Standard was adopted by the Ecma General Assembly of June 1997.",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-24",
   "claim": "Node.js worker threads can execute JavaScript in parallel.",
   "quote": "threads that execute JavaScript in parallel",
   "source": {
    "id": "javascript-typescript:S-empirical-16",
    "key": "nodejsndb",
    "author": "{Node.js}",
    "year": "n.d.d",
    "title": "Worker threads",
    "publisher": "Node.js",
    "url": "https://nodejs.org/api/worker_threads.html",
    "in_text": "Node.js (n.d.d)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "maintainer describes its own API; no evaluation or results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "how-asynchronous-code-runs"
   ]
  },
  {
   "id": "javascript-typescript:C-history-29",
   "claim": "Eich argued for greater change, citing JavaScript's problems with scale, data integrity, type safety, and support for large programs.",
   "quote": "use-cases where JS does not scale in time or space, or lacks basic data integrity, type safety, and programming in the large support",
   "source": {
    "id": "javascript-typescript:S-history-16",
    "key": "eich2007",
    "author": "Eich, Brendan",
    "year": "2007",
    "title": "Open letter to Chris Wilson",
    "publisher": "Brendan Eich",
    "url": "https://brendaneich.com/2007/10/open-letter-to-chris-wilson/",
    "in_text": "Eich (2007)",
    "type": "blog",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "author's own eyewitness argument in a dispute; no results; role disclosed"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "the-fourth-edition-debate"
   ]
  },
  {
   "id": "javascript-typescript:C-history-28",
   "claim": "In the ES4 debate Microsoft opposed a radical redesign and prioritised keeping existing web content working.",
   "quote": "we do not see any need or justification for a radical redesign of the language ... must give highest priority to ensuring continuing function of existing web content",
   "source": {
    "id": "javascript-typescript:S-history-15",
    "key": "microsoft2007",
    "author": "{Microsoft}",
    "year": "2007",
    "title": "Position statement to TC39-TG1 regarding the evolution of ECMAScript",
    "publisher": "Ecma International",
    "url": "https://archives.ecma-international.org/2007/TG1/tc39-tg1-2007-042.pdf",
    "in_text": "Microsoft (2007)",
    "type": "vendor",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "company position statement arguing for its priorities; opinion, no results; Microsoft had a stake in the outcome (stake evident, not stated as such)"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "the-fourth-edition-debate"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-20",
   "claim": "Eich built a minimally integrated Mocha prototype in ten days in May 1995 for a feasibility demonstration. The production release followed in March 1996.",
   "quote": "ten contiguous days in May, 1995 ... feasibility demonstration deadline ... March 1996 production release",
   "source": {
    "id": "javascript-typescript:S-empirical-18",
    "key": "wirfsbrock2020",
    "author": "Wirfs-Brock, Allen and Eich, Brendan",
    "year": "2020",
    "title": "JavaScript: The first 20 years",
    "publisher": "Proceedings of the ACM on Programming Languages, 4(HOPL), Article 77",
    "url": "https://www.wirfs-brock.com/allen/jshopl.pdf",
    "in_text": "Wirfs-Brock & Eich (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "first-hand historical account by participants, with documents in appendices; narrative without measured results; authors helped create what they describe"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-1",
   "claim": "Brendan Eich initially designed and implemented JavaScript in May 1995 at Netscape.",
   "quote": "JavaScript was initially designed and implemented in May 1995 at Netscape by Brendan Eich",
   "source": {
    "id": "javascript-typescript:S-history-1",
    "key": "wirfsbrock2020",
    "author": "Wirfs-Brock, Allen and Eich, Brendan",
    "year": "2020",
    "title": "JavaScript: The first 20 years",
    "publisher": "Proceedings of the ACM on Programming Languages, 4(HOPL), Article 77",
    "url": "https://www.wirfs-brock.com/allen/jshopl.pdf",
    "in_text": "Wirfs-Brock & Eich (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "first-hand historical account by participants, with documents in appendices; narrative without measured results; authors helped create what they describe"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-36",
   "claim": "The ten-day development period described by Eich was the time spent creating the initial prototype.",
   "quote": "he prototyped the first Mocha implementation in ten contiguous days in May, 1995",
   "source": {
    "id": "javascript-typescript:S-history-1",
    "key": "wirfsbrock2020",
    "author": "Wirfs-Brock, Allen and Eich, Brendan",
    "year": "2020",
    "title": "JavaScript: The first 20 years",
    "publisher": "Proceedings of the ACM on Programming Languages, 4(HOPL), Article 77",
    "url": "https://www.wirfs-brock.com/allen/jshopl.pdf",
    "in_text": "Wirfs-Brock & Eich (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "first-hand historical account by participants, with documents in appendices; narrative without measured results; authors helped create what they describe"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-37",
   "claim": "Work on the shipping version of JavaScript continued after the early prototype.",
   "quote": "he had to turn the language’s prototype implementation into shippable software",
   "source": {
    "id": "javascript-typescript:S-history-1",
    "key": "wirfsbrock2020",
    "author": "Wirfs-Brock, Allen and Eich, Brendan",
    "year": "2020",
    "title": "JavaScript: The first 20 years",
    "publisher": "Proceedings of the ACM on Programming Languages, 4(HOPL), Article 77",
    "url": "https://www.wirfs-brock.com/allen/jshopl.pdf",
    "in_text": "Wirfs-Brock & Eich (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "first-hand historical account by participants, with documents in appendices; narrative without measured results; authors helped create what they describe"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-23",
   "claim": "The 2015 edition introduced modules, class declarations, lexical block scoping and promises.",
   "quote": "Some of its major enhancements included modules, class declarations, lexical block scoping, iterators and generators, promises for asynchronous programming",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-26",
   "claim": "The ECMAScript rules for `+` turn both primitive inputs into strings and join them if either primitive input is a string.",
   "quote": "If lprim is a String or rprim is a String ... Return the string-concatenation of lstr and rstr.",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-27",
   "claim": "For an ordinary object's property lookup, the specification delegates to the prototype if the object has no own property of that name and its prototype is non-null.",
   "quote": "If desc is undefined, then ... If parent is null, return undefined. ... Return ? parent.[[Get]](P, Receiver).",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-35",
   "claim": "The new annual release schedule first applied to ECMAScript 2016.",
   "quote": "ECMAScript 2016 was the first ECMAScript edition released under Ecma TC39's new yearly release cadence",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-5",
   "claim": "The attempted fourth edition of ECMAScript was never published; some of the work made it into the sixth edition.",
   "quote": "not published as the fourth edition of ECMAScript but some of it was incorporated into the development of the sixth edition.",
   "source": {
    "id": "javascript-typescript:S-history-2",
    "key": "ecma2024",
    "author": "{Ecma International}",
    "year": "2024",
    "title": "ECMAScript 2024 language specification",
    "publisher": "Ecma International",
    "url": "https://262.ecma-international.org/15.0/index.html",
    "in_text": "International (2024)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Ecma's own language specification; describes its own rules, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "lead",
    "origins-and-standardization",
    "the-fourth-edition-debate",
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-3",
   "claim": "Sun Microsystems and Netscape jointly unveiled JavaScript in December 1995.",
   "quote": "Sun Microsystems Inc. and Netscape Communications Corp. on Monday unveiled a programming language",
   "source": {
    "id": "javascript-typescript:S-history-8",
    "key": "reuters1995",
    "author": "{Reuters}",
    "year": "1995",
    "title": "Sun, Netscape launch JavaScript language",
    "publisher": "Los Angeles Times",
    "url": "https://www.latimes.com/archives/la-xpm-1995-12-05-fi-10560-story.html",
    "in_text": "Reuters (1995)",
    "type": "news",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "news report of Sun/Netscape announcement, names the companies and speakers; secondary, no own results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-standardization"
   ]
  },
  {
   "id": "javascript-typescript:C-history-6",
   "claim": "The TC39 process lists two compatible implementations that pass its tests among Stage 4 criteria.",
   "quote": "Two compatible implementations which pass the Test262 acceptance tests",
   "source": {
    "id": "javascript-typescript:S-history-3",
    "key": "tc39nd",
    "author": "{Ecma Technical Committee 39}",
    "year": "n.d.",
    "title": "The TC39 process",
    "publisher": "Ecma International",
    "url": "https://tc39.es/process-document/",
    "in_text": "39 (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "TC39's own process rules, described without evaluating them"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-standardization"
   ]
  },
  {
   "id": "javascript-typescript:C-history-7",
   "claim": "Finished proposals enter the draft specification and then a yearly standard publication.",
   "quote": "Integration into the draft specification and eventual inclusion in a yearly standard publication.",
   "source": {
    "id": "javascript-typescript:S-history-3",
    "key": "tc39nd",
    "author": "{Ecma Technical Committee 39}",
    "year": "n.d.",
    "title": "The TC39 process",
    "publisher": "Ecma International",
    "url": "https://tc39.es/process-document/",
    "in_text": "39 (n.d.)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "TC39's own process rules, described without evaluating them"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "origins-and-standardization"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-21",
   "claim": "The 2008 Harmony agreement restarted joint work on ES3.1 and planned a more modest successor to ES4, retaining reworked ideas such as classes while dropping namespaces.",
   "quote": "more modest than ES4 ... off the table for good: packages, namespaces and early binding ... a notion of classes",
   "source": {
    "id": "javascript-typescript:S-history-17",
    "key": "eich2008",
    "author": "Eich, Brendan",
    "year": "2008",
    "title": "ECMAScript Harmony",
    "publisher": "es-discuss",
    "url": "https://esdiscuss.org/topic/ecmascript-harmony",
    "in_text": "Eich (2008)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "mailing-list announcement of committee decisions by a participant; opinion and report, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "the-fourth-edition-debate"
   ]
  },
  {
   "id": "javascript-typescript:C-history-30",
   "claim": "In 2008 TC39 agreed to focus on ES3.1 first, then pursue extensions more modest than ES4.",
   "quote": "Focus work on ES3.1 with full collaboration of all parties ... more modest than ES4 in both semantic and syntactic innovation.",
   "source": {
    "id": "javascript-typescript:S-history-17",
    "key": "eich2008",
    "author": "Eich, Brendan",
    "year": "2008",
    "title": "ECMAScript Harmony",
    "publisher": "es-discuss",
    "url": "https://esdiscuss.org/topic/ecmascript-harmony",
    "in_text": "Eich (2008)",
    "type": "other",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "mailing-list announcement of committee decisions by a participant; opinion and report, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "the-fourth-edition-debate"
   ]
  },
  {
   "id": "javascript-typescript:C-history-20",
   "claim": "If an ordinary object lacks a requested property, lookup follows its chain of prototypes until it finds the property or runs out of prototypes.",
   "quote": "its prototype will be searched for the property. If that doesn’t have it, the prototype’s prototype is searched",
   "source": {
    "id": "javascript-typescript:S-history-11",
    "key": "haverbeke2024b",
    "author": "Haverbeke, Marijn",
    "year": "2024c",
    "title": "The secret life of objects",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/06_object.html",
    "in_text": "Haverbeke (2024c)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "author's own programming-language tutorial chapter; explains, no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-21",
   "claim": "Implicit conversion can make the same string act differently in different operations: `\"5\" - 1` is `4`, and `\"5\" + 1` is `\"51\"`.",
   "quote": "console.log(\\\"5\\\" - 1) ... // → 4 ... console.log(\\\"5\\\" + 1) ... // → 51",
   "source": {
    "id": "javascript-typescript:S-history-12",
    "key": "haverbeke2024c",
    "author": "Haverbeke, Marijn",
    "year": "2024d",
    "title": "Values, types, and operators",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/01_values.html",
    "in_text": "Haverbeke (2024d)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "tutorial chapter explaining language basics, no results of its own"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-22",
   "claim": "JavaScript's standard modules have their own scope and use `import` and `export` to declare dependencies and public functionality.",
   "quote": "Modules get their own separate scope and support the import and export keywords",
   "source": {
    "id": "javascript-typescript:S-history-13",
    "key": "haverbeke2024d",
    "author": "Haverbeke, Marijn",
    "year": "2024b",
    "title": "Modules",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/10_modules.html",
    "in_text": "Haverbeke (2024b)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "author's own explanation and advice; no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "objects-conversions-and-modules"
   ]
  },
  {
   "id": "javascript-typescript:C-history-17",
   "claim": "A callback is a function called when an asynchronous operation completes, and the event loop schedules callbacks so their executions do not overlap within that loop.",
   "quote": "callbacks, functions that are called when the actions complete. An event loop schedules such callbacks to be called when appropriate, one after the other",
   "source": {
    "id": "javascript-typescript:S-history-10",
    "key": "haverbeke2024",
    "author": "Haverbeke, Marijn",
    "year": "2024a",
    "title": "Asynchronous programming",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/11_async.html",
    "in_text": "Haverbeke (2024a)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook chapter explaining concepts; no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-18",
   "claim": "A promise represents a result that may be unavailable yet; a function registered with `then` can handle the eventual result.",
   "quote": "a receipt representing a value that may not be available yet",
   "source": {
    "id": "javascript-typescript:S-history-10",
    "key": "haverbeke2024",
    "author": "Haverbeke, Marijn",
    "year": "2024a",
    "title": "Asynchronous programming",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/11_async.html",
    "in_text": "Haverbeke (2024a)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook chapter explaining concepts; no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-19",
   "claim": "Within an async function, `await` pauses the function until its promise settles; a rejection raises an exception at that point.",
   "quote": "wait for a promise to resolve and only then continue the execution of the function. If the promise rejects, an exception is raised",
   "source": {
    "id": "javascript-typescript:S-history-10",
    "key": "haverbeke2024",
    "author": "Haverbeke, Marijn",
    "year": "2024a",
    "title": "Asynchronous programming",
    "publisher": "Eloquent JavaScript (4th ed.)",
    "url": "https://eloquentjavascript.net/11_async.html",
    "in_text": "Haverbeke (2024a)",
    "type": "book",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "textbook chapter explaining concepts; no results of its own; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-history-16",
   "claim": "In browsers the event loop runs a selected task and then performs a microtask checkpoint.",
   "quote": "Perform oldestTask's steps. ... Perform a microtask checkpoint.",
   "source": {
    "id": "javascript-typescript:S-history-9",
    "key": "whatwg2026",
    "author": "{WHATWG}",
    "year": "2026m",
    "title": "HTML standard",
    "publisher": "WHATWG",
    "url": "https://html.spec.whatwg.org/multipage/webappapis.html#event-loops",
    "in_text": "WHATWG (2026m)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "standard text by the body that maintains it; describes how event loops work, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs"
   ]
  },
  {
   "id": "javascript-typescript:C-history-34",
   "claim": "Browsers schedule work to run promise handlers in the event loop's microtask queue.",
   "quote": "HTML schedules these operations in the microtask queue.",
   "source": {
    "id": "javascript-typescript:S-history-9",
    "key": "whatwg2026",
    "author": "{WHATWG}",
    "year": "2026m",
    "title": "HTML standard",
    "publisher": "WHATWG",
    "url": "https://html.spec.whatwg.org/multipage/webappapis.html#event-loops",
    "in_text": "WHATWG (2026m)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "standard text by the body that maintains it; describes how event loops work, no results"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-25",
   "claim": "The browser standard provides an API to run background scripts independently of the page’s user-interface scripts.",
   "quote": "running scripts in the background independently of any user interface scripts",
   "source": {
    "id": "javascript-typescript:S-empirical-17",
    "key": "whatwgnd",
    "author": "{WHATWG}",
    "year": "n.d.g",
    "title": "HTML standard: Web workers",
    "publisher": "WHATWG",
    "url": "https://html.spec.whatwg.org/multipage/workers.html",
    "in_text": "WHATWG (n.d.g)",
    "type": "documentation",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "living standard describing its own rules; no evaluation"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "how-asynchronous-code-runs"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-6",
   "claim": "In a study of 502 fixed bug reports from 19 repositories, 68% of the JavaScript faults examined involved faulty interactions with a webpage’s document object model.",
   "quote": "502 bug reports from 19 bug repositories ... the majority (68%) of JavaScript faults are DOM-related",
   "source": {
    "id": "javascript-typescript:S-empirical-5",
    "key": "ocariza2017",
    "author": "Ocariza, Jr., Frolin S. and Bajaj, Kartik and Pattabiraman, Karthik and Mesbah, Ali",
    "year": "2017",
    "title": "A study of causes and consequences of client-side JavaScript bugs",
    "publisher": "IEEE Transactions on Software Engineering",
    "url": "https://people.ece.ubc.ca/frolino/docs/jsbugsstudy_journal.pdf",
    "in_text": "Ocariza et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own study of 502 bug reports from 19 repositories; method shown; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "faults-in-browsers-and-node-js"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-8",
   "claim": "A study of real concurrency bugs in open-source Node.js programs found atomicity and ordering violations.",
   "quote": "illustrating the forms that atomicity violations and ordering violations take in the EDA setting",
   "source": {
    "id": "javascript-typescript:S-empirical-6",
    "key": "davis2017",
    "author": "Davis, James and Thekumparampil, Arun and Lee, Dongyoon",
    "year": "2017",
    "title": "Node.fz: Fuzzing the server-side event-driven architecture",
    "publisher": "Proceedings of the Twelfth European Conference on Computer Systems",
    "url": "https://people.cs.vt.edu/~dongyoon/papers/EUROSYS-17-NodeFz.pdf",
    "in_text": "Davis et al. (2017)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own bug study and tool evaluation on real open-source apps; method shown; no commercial stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "faults-in-browsers-and-node-js"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-9",
   "claim": "Node.js event handlers can be scheduled in different orders, and unexpected races between handlers can cause malfunctions.",
   "quote": "event handlers are scheduled nondeterministically, and unexpected races between event handlers often cause malfunctions",
   "source": {
    "id": "javascript-typescript:S-empirical-7",
    "key": "endo2020",
    "author": "Endo, André Takeshi and Møller, Anders",
    "year": "2020",
    "title": "NodeRacer: Event race detection for Node.js applications",
    "publisher": "IEEE International Conference on Software Testing, Verification and Validation",
    "url": "https://cs.au.dk/~amoeller/papers/noderacer/paper.pdf",
    "in_text": "Endo & Møller (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "authors' own tool evaluated on 11 benchmarks, small; method shown; authors evaluate own tool"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "faults-in-browsers-and-node-js"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-16",
   "claim": "An investigation of 15 asynchronous JavaScript issues found that conventional test coverage could count code as covered while missing faulty asynchronous behavior.",
   "quote": "investigation of 15 real GitHub issues ... faulty asynchronous behaviors that are untested yet are deemed covered by traditional coverage criteria",
   "source": {
    "id": "javascript-typescript:S-empirical-13",
    "key": "ganji2023",
    "author": "Ganji, Mohammad and Alimadadi, Saba and Tip, Frank",
    "year": "2023",
    "title": "Code coverage criteria for asynchronous programs",
    "publisher": "Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering",
    "url": "https://www.franktip.org/pubs/fse2023.pdf",
    "in_text": "Ganji et al. (2023)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own tool evaluated by its authors; method shown; user experiment n=12, small"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "faults-in-browsers-and-node-js"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-11",
   "claim": "In a study of 501,001 npm packages, 16% met the study’s definition of trivial, and 18.4% of those had more than 20 direct and indirect dependencies.",
   "quote": "Out of the 501,001 npm packages ... 80,232 (16.0%) ... 18.4% have more than 20 dependencies",
   "source": {
    "id": "javascript-typescript:S-empirical-9",
    "key": "abdalkareem2020",
    "author": "Abdalkareem, Rabe and Oda, Vinicius and Mujahid, Suhaib and Shihab, Emad",
    "year": "2020",
    "title": "On the impact of using trivial packages: An empirical case study on npm and PyPI",
    "publisher": "Empirical Software Engineering",
    "url": "https://das.encs.concordia.ca/pdf/abdelkareem_emse2020.pdf",
    "in_text": "Abdalkareem et al. (2020)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "Primary large registry study with an explicit size and complexity definition."
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "npm-dependencies"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-2",
   "claim": "Among the 49 JavaScript projects with dependencies shipped to production in a sample using webpack or Rollup, the bundled dependencies accounted for 0.93% of the installed dependencies.",
   "quote": "we select projects using either webpack or rollup ... only 497 dependencies (0.93%) are released to production",
   "source": {
    "id": "javascript-typescript:S-empirical-3",
    "key": "latendresse2022",
    "author": "Latendresse, Jasmine and Mujahid, Suhaib and Costa, Diego Elias and Shihab, Emad",
    "year": "2022",
    "title": "Not all dependencies are equal: An empirical study on production dependencies in npm",
    "publisher": "37th IEEE/ACM International Conference on Automated Software Engineering",
    "url": "https://arxiv.org/abs/2207.14711",
    "in_text": "Latendresse et al. (2022)",
    "type": "preprint",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own empirical study; 100 projects analysed; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "npm-dependencies",
    "further-reading"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-19",
   "claim": "In a sample of 384 npm client packages with tests, 45 (11.7%) suffered at least one test failure traced to a breaking change in a dependency.",
   "quote": "45 (11.7%) suffered a failing test from a manifesting breaking change in at least one release",
   "source": {
    "id": "javascript-typescript:S-empirical-15",
    "key": "venturini2023",
    "author": "Venturini, Daniel and Cogo, Filipe Roseiro and Polato, Ivanilton and Gerosa, Marco A. and Wiese, Igor Scaliante",
    "year": "2023",
    "title": "I depended on you and you broke me: An empirical study of manifesting breaking changes in client packages",
    "publisher": "ACM Transactions on Software Engineering and Methodology",
    "url": "https://arxiv.org/pdf/2301.04563",
    "in_text": "Venturini et al. (2023)",
    "type": "peer-reviewed",
    "read": "extracted",
    "trust": "high",
    "trust_reason": "own mining study of npm packages; method shown; large data; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "npm-dependencies"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-12",
   "claim": "Among 14,099 respondents answering the 2026 Stack Overflow survey’s multiple-choice language question, 62% reported extensive development work with JavaScript and 43.8% with TypeScript over the preceding year.",
   "quote": "JavaScript 8,742 62.0% ... TypeScript 6,171 43.8%",
   "source": {
    "id": "javascript-typescript:S-empirical-10",
    "key": "stackoverflow2026",
    "author": "{Stack Overflow}",
    "year": "2026",
    "title": "Programming, scripting, and markup languages",
    "publisher": "Stack Overflow Developer Survey",
    "url": "https://survey.stackoverflow.co/2026/technology/data/languages",
    "in_text": "Overflow (2026)",
    "type": "dataset",
    "read": "extracted",
    "trust": "medium",
    "trust_reason": "own survey n=14,099, self-reports only; no stake"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "use-in-surveys-and-on-github"
   ]
  },
  {
   "id": "javascript-typescript:C-empirical-13",
   "claim": "GitHub’s Octoverse recorded TypeScript as its top language by monthly contributors in August 2025, with 2,636,006 contributors.",
   "quote": "TypeScript finished #1 on GitHub in August 2025 with 2,636,006 monthly contributors",
   "source": {
    "id": "javascript-typescript:S-empirical-11",
    "key": "github2025",
    "author": "{GitHub Staff}",
    "year": "2025",
    "title": "Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1",
    "publisher": "The GitHub Blog",
    "url": "https://github.blog/news-insights/octoverse/octoverse-a-new-developer-joins-github-every-second-as-ai-leads-typescript-to-1/",
    "in_text": "Staff (2025)",
    "type": "vendor",
    "read": "extracted",
    "trust": "low",
    "trust_reason": "GitHub platform data; only definitions, no checkable data; GitHub sells Copilot and credits it for growth"
   },
   "verified": "verified",
   "captured": null,
   "cited_in": [
    "use-in-surveys-and-on-github"
   ]
  }
 ],
 "sources": {
  "abdalkareem2020": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "davis2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "ecma2024": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "eich2007": {
   "grade": "medium",
   "why": "Blog post, read in large part."
  },
  "eich2008": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "endo2020": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "ganji2023": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  },
  "github2025": {
   "grade": "weak",
   "why": "Vendor page, read in large part."
  },
  "haverbeke2024": {
   "grade": "medium",
   "why": "Book, read in large part."
  },
  "haverbeke2024b": {
   "grade": "medium",
   "why": "Book, read in large part."
  },
  "haverbeke2024c": {
   "grade": "medium",
   "why": "Book, read in large part."
  },
  "haverbeke2024d": {
   "grade": "medium",
   "why": "Book, read in large part."
  },
  "latendresse2022": {
   "grade": "solid",
   "why": "Preprint, read in large part."
  },
  "microsoft2007": {
   "grade": "medium",
   "why": "Vendor page, read in large part."
  },
  "nodejsndb": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "ocariza2017": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "reuters1995": {
   "grade": "medium",
   "why": "News article, read in large part."
  },
  "stackoverflow2026": {
   "grade": "medium",
   "why": "Read in large part."
  },
  "tc39nd": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "venturini2023": {
   "grade": "solid",
   "why": "Peer-reviewed, read in large part."
  },
  "whatwg2026": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "whatwgnd": {
   "grade": "solid",
   "why": "Documentation, read in large part."
  },
  "wirfsbrock2020": {
   "grade": "medium",
   "why": "Peer-reviewed, read in large part."
  }
 }
}
