powered by
Get the value of a variable from the current context
get(var_name)
The value of the variable
An object of class NULL of length 0.
NULL
The name of the variable to retrieve
if (FALSE) { ctx <- JSContext$new() ctx$source(code = "var a = 1;") ctx$get("a") }
Run the code above in your browser using DataLab