Those variables would persist in the scripts/global scope and you could access them easily.
set {VARIABLE NAME} to value {VALUE} within script
Creates variable with name set to VARIABLE NAME
and value VALUE
. You can assign it undefined
to delete it.
get {VARIABLE NAME}'s value within script
returns value that was assigned to a script, otherwise, returns undefined
if not found.
set {VARIABLE NAME} to value {VALUE} within global scope
Creates variable within global scope that can be accessed by any script. You can assign it undefined
to delete it.
get {VARIABLE NAME}'s value within global scope
returns value from global scope, returns undefined
if not found.