Function js::register_function

source ·
pub fn register_function(code: &str) -> JSFunction