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 Error("x is false"); } } catch { console.log('x...
35 followers
Seasoned .Net Backend Senior Software developer with 20 years of experience, almost all of them in really large companies: Hewlett-Packard, Procter&Gamble, IBM, Brightstar and Intel.