How to readily run a function inside the parameter to get its string output which is the same as $( ... ) in bash ? e.g.
navigator.registerProtocolHandler(&qu