Blame view

node_modules/@babel/runtime/helpers/esm/temporalRef.js 223 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
  import undef from "./temporalUndefined";
  export default function _temporalRef(val, name) {
    if (val === undef) {
      throw new ReferenceError(name + " is not defined - temporal dead zone");
    } else {
      return val;
    }
  }