pub fn define_subclass<'js, F, P>(
ctx: &Ctx<'js>,
name: &str,
parent: &Constructor<'js>,
construct: F,
) -> Result<Constructor<'js>>where
F: IntoJsFunc<'js, P> + 'js,Expand description
Build a constructor that behaves like class Name extends Parent