evaluateJavaScript
Evaluates the given js code and emits the result as a TealiumResult wrapping a DataItem.
A successful result contains the value returned by the script. A failure result indicates that an error occurred during evaluation.
Return
An Observable that emits a TealiumResult containing the evaluation outcome.
Parameters
js
The JavaScript code to evaluate.