Jason Knight
Apr 7, 2021

--

I'm trying to figure out if this is april fools, or an old article resurfaced.

arguments is old-school and out of date now that we have spread operators.

"with" isn't even available if you "use strict" and has been frowned upon in general script construction for over a decade. It's on nearly every "do not use" list. (I don't necessarily agree with that, but it is what it is)

The rest of the article is ok, but stuff I'd expect people working in JS to know. Like of course functions can have properties, function is the old-school constructor from before we had classes.

--

--

Jason Knight
Jason Knight

Written by Jason Knight

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse

No responses yet