Function js_sys::Reflect::set_prototype_of [−][src]
pub fn set_prototype_of(
target: &Object,
prototype: &JsValue
) -> Result<bool, JsValue>
The static Reflect.setPrototypeOf() method is the same
method as Object.setPrototypeOf(). It sets the prototype
(i.e., the internal [[Prototype]] property) of a specified
object to another object or to null.