There is a standard property called cause and apparently that's handy for if you catch an error and then want to throw your own. If you are connecting to a database this example MDN has you can throw your own but you can give it a descriptive message when you do throw that error. I never knew about that one. another one that's a decent uptick where a string that prototype that replays allBasically being able to replace all or match all in a string which is a shorthand for being able to do regex and replace on multiple instances of something throughout a string.
In this episode of Syntax, Wes and Scott look through the results of the State of JS survey for 2022.
Show Notes
Shameless Plugs
Tweet us your tasty treats