temporalRef.js 292 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
var temporalUndefined = require("./temporalUndefined.js");

var tdz = require("./tdz.js");

function _temporalRef(val, name) {
  return val === temporalUndefined ? tdz(name) : val;
}

module.exports = _temporalRef, module.exports.__esModule = true, module.exports["default"] = module.exports;