temporalRef.js 209 Bytes
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
2
3
4
5
import undef from "@babel/runtime/helpers/esm/temporalUndefined";
import err from "@babel/runtime/helpers/esm/tdz";
export default function _temporalRef(val, name) {
  return val === undef ? err(name) : val;
}