
How JavaScript Works
by Douglas Crockford · first published 2018
5mentions
2recommended by
4HN commenters
2020–2024first – last mentioned
50% recommend50% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Douglas Crockford has a sketch of a datetime library in his book, How JavaScript Works. I like it. Here's a summary. A datetime has three representations: - (real) number of milliseconds since the epoch, - string in some standard format (e.g. ISO 8601), - plain old object with the…
on “Is It Time for the JavaScript Temporal API?” ↗"JavaScript, The Good Parts" is not really relevant to modern JS. But Crockford's new book "How JavaScript Works" is basically the updated version. As an amateur coder I found it very useful, definitely worth reading.
on “The JavaScript Ecosystem Is Delightfully Weird” ↗Crockford makes it work in his toy language in <https://www.amazon.com/How-JavaScript-Works-Douglas-Crockfor...>.
on “CamelCase vs underscores: Scientific showdown (2011)” ↗"How JavaScript Works" by Crockford was published in 2018. https://www.amazon.com/gp/aw/d/1949815005/ref=dbs_a_w_dp_194... https://youtu.be/8oGCyfautKo
on “JavaScript for Impatient Programmers” ↗…concern: I love JSON, but one of the technical problems we've ran into with JSON is that the spec forgot about all special characters. I actually noticed it when reading Douglas Crockford's 2018 book, "How JavaScript Works". The mistake is on page 22.9 where it states that there are 32 control characters. There are not 32 control characters. There are 33 7-bit ASCII control characters and 65 Unicode control characters.…
on “JSON5 – JSON for Humans” ↗