Blame view

node_modules/@babel/runtime/helpers/temporalRef.js 268 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
  var temporalUndefined = require("./temporalUndefined");
  
  function _temporalRef(val, name) {
    if (val === temporalUndefined) {
      throw new ReferenceError(name + " is not defined - temporal dead zone");
    } else {
      return val;
    }
  }
  
  module.exports = _temporalRef;