private GetPrototypeOf ( |
||
obj | ||
Résultat | object |
public static object GetPrototypeOf(object target) { if (target is ObjectInstance targetObjectInstance) { return(ObjectConstructor.GetPrototypeOf(targetObjectInstance)); } throw new JavaScriptException(ErrorType.TypeError, "Reflect.getPrototypeOf called on non-object."); }
public static object GetPrototypeOf(ObjectInstance target) { return(ObjectConstructor.GetPrototypeOf(target)); }