UNPKG
calcium-lang
Version:
latest (0.14.1)
0.14.1
0.14.0
0.13.3
0.13.1
0.13.0
0.12.0
0.10.1
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Calcium language interpreter
github.com/0xCAF2/calcium-lang
0xCAF2/calcium-lang
calcium-lang
/
dist
/
util
/
retrieveValue.js
6 lines
•
233 B
JavaScript
View Raw
1
2
3
4
5
6
import
{
default
as
Sym
}
from
"../symbol"
;
import
evaluate
from
"./evaluate"
;
export
default
function
retrieveValue
(
target, env
) {
return
Reflect
.
get
(
evaluate
(target, env),
Sym
.
value
); }
//# sourceMappingURL=retrieveValue.js.map