lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/temporalRef.js in condenser-0.0.8 vs lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/temporalRef.js in condenser-0.0.9

- old
+ new

@@ -1,8 +1,5 @@ import undef from "./temporalUndefined"; +import err from "./tdz"; export default function _temporalRef(val, name) { - if (val === undef) { - throw new ReferenceError(name + " is not defined - temporal dead zone"); - } else { - return val; - } + return val === undef ? err(name) : val; } \ No newline at end of file