mirror of
https://git.mirrors.martin98.com/https://github.com/cyberman54/curl
synced 2025-08-22 23:39:08 +08:00
5 lines
165 B
JavaScript
5 lines
165 B
JavaScript
import undef from "./temporalUndefined.js";
|
|
import err from "./tdz.js";
|
|
export default function _temporalRef(val, name) {
|
|
return val === undef ? err(name) : val;
|
|
} |