I find this expresion in some project using vuex:
[SET_BREADCRUMB](state, payload) {
state.commit(SET_BREADCRUMB, payload);
}
Please someone explain me what is here? Usually [] this is array notation. But i don't understand why is followed by () like a function.