public bool TryGetPrototypeOf(Type type, out JSValue proto) { if (_prototypes.TryGetValue(type, out proto)) { return(true); } if (_runtime.EnsureReflectBindTypeLoaded(_context, type)) { if (_prototypes.TryGetValue(type, out proto)) { return(true); } } proto = JSApi.JS_UNDEFINED; return(false); }