0

I want to know what is the meaning of [INCREASE](state, data){ } from this grammar:


import INCREASE from ...

const mutations = {
  [INCREASE](state, data){
    state.points = data
  }
}

thanks a lot !

Siwei
  • 17,128
  • 4
  • 67
  • 86

0 Answers0