UNPKG
@thejones/react-common-components
Version:
latest (2.0.1)
2.0.1
2.0.0
React component - semantic ui
example.com
@thejones/react-common-components
/
node_modules
/
@babel
/
runtime
/
helpers
/
temporalRef.js
11 lines
(9 loc)
•
268 B
JavaScript
View Raw
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;