Function shorthand
btholt opened this issue · comments
Brian Holt commented
On lines like : https://github.com/spboyer/social-linker/blob/master/src/views/Settings.vue#L114
You can use the shorthand:
const myObj = {
myFuncName() {
// do stuff
}
}
Not required, but most code is written this way these days.