pub fn set_prototype_of<T>(
target: &Object<T>,
prototype: &JsValue,
) -> Result<bool, JsValue>where
Object<T>: ErasableGenericBorrow<Object<JsValue>> + EncodeTypeDef,
for<'__wry_bindgen> &'__wry_bindgen Object<T>: BinaryEncode,Expand description
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.