Utterly disgusting. The management of this company should be ashamed of themselves.

Leave it to JavaScript to subvert human expectations of what a sane result of a standard library function should return. And yes I am aware of the reasoning behind it, but It's still very convoluted for no reason. It would be much nicer to just throw an error and state the intended behavior, but it seems like JavaScript had other plans.

Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!