diff --git a/src/store.js b/src/store.js index b32d7b0ad..032480751 100644 --- a/src/store.js +++ b/src/store.js @@ -257,7 +257,7 @@ function resetStoreVM (store, state, hot) { forEachValue(wrappedGetters, (fn, key) => { // use computed to leverage its lazy-caching mechanism // direct inline function use will lead to closure preserving oldVm. - // using partial to return function with only arguments preserved in closure enviroment. + // using partial to return function with only arguments preserved in closure environment. computed[key] = partial(fn, store) Object.defineProperty(store.getters, key, { get: () => store._vm[key],