diff --git a/src/utils/AltUtils.js b/src/utils/AltUtils.js index 0e5b1e6b..d5f11fb7 100644 --- a/src/utils/AltUtils.js +++ b/src/utils/AltUtils.js @@ -23,7 +23,7 @@ export function getPrototypeChain(Obj, methods = {}) { ? methods : getPrototypeChain( Object.getPrototypeOf(Obj), - fn.assign(methods, getInternalMethods(Obj, true)) + fn.assign(getInternalMethods(Obj, true), methods) ) }