pub type JSResult = Result<JSObject, JSObject>;
The result of a JS function.
The Err variant will be returned if
pub enum JSResult { Ok(Value), Err(Value), }
Contains the success value
Contains the error value