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
  • 16,001
  • 4
  • 62
  • 79

0 Answers0