temporalRef.js 165 B

12345
  1. import undef from "./temporalUndefined.js";
  2. import err from "./tdz.js";
  3. export default function _temporalRef(val, name) {
  4. return val === undef ? err(name) : val;
  5. }