korrents

korrents · piece

Plain Old JavaScript and the DOM

Douglas Crockford · 27 May 2023

Read the piece on crockford.com ↗

2 korrents from this piece ↓

Douglas Crockford did not write this page.

Every claim below was made in this piece, quoted word for word and numbered in the order the piece makes them, so you can read it there rather than take our word for it. The sentence above each quote is our reading of the claim, not their wording. Each quote was checked against a stored copy of the page at build time; where the two differ, the quote is the fact.

  1. This was an invention of Microsoft. While slightly less reckless that document.write, it is also unsafe and should no longer be used.
  2. Since then, the web standards community has, for the most part, corrected many of WC3's failures. The DOM is much less deficient and much more portable and reliable. That is why I now recommend abandoning the libraries, which have grown into bloated platforms, and instead using the DOM and plain old JavaScript together.

Keep reading

The other pieces are the ones whose claims are worded most like this one's. That measures language, not agreement: they may argue the opposite.