Demo entry 3548457

const_err=function(message){thrownewError(message);}constgetSum=(a=_err('a is not defined'),b=_err('b is not defined'))=>a+bgetSum(10)// throws Error, b is not definedgetSum(undefined,10)// throws Error, a is not defined