R/JSContext.R
JSContext-method-get.Rd
Get the value of a variable from the current context
get(var_name)
An object of class NULL of length 0.
NULL
The name of the variable to retrieve
The value of the variable
if (FALSE) { # \dontrun{ ctx <- JSContext$new() ctx$source(code = "var a = 1;") ctx$get("a") } # }