This context provides methods for storing and retrieving data.
The data will be stored persistent in the available environment (LMS, cookie, etc.).
Methods
-
<inner> get(name) → {Object}
-
Gets a custom defined variable from the sequence scope.
Parameters:
Name Type Description name
String The name for the variable.
Returns:
The value of the variable. "null" if the variable do not exist in the given namespace.
- Type
- Object
-
<inner> set(name, value)
-
Sets a custom defined variable in the sequence scope.
Parameters:
Name Type Description name
String The name for the variable.
value
Object The desired value.