The Ugly Truth: All Popular fetch() Wrappers Do It Wrong

Please have a look at the following two pieces of code. The purpose is to do something (writing to the console) if the value of x is false.
⛶const x = false;
try {
if (!x) {
throw new Er...