JavaScript Thinks Everything’s a Date, by (not on Mastodon or Bluesky):

https://futuresearch.ai/blog/javascript-thinks-everythings-a-date/

#javascript #time #v8 #javascriptcore #python

JavaScript Thinks Everything's a Date

Popular JavaScript engines have legacy date parsers that will extract a year from nearly any string containing a number. "Route 66" becomes 1966. "Boeing 747" becomes year 747. We explain how the parser works and contrast it with Python.

FutureSearch