data() {
return {
str: "some text",
arr: [3,4,5]
}
},
methods: {
someFunction(el) {
console.log(this.el)
}
},
someFunction(el) {
console.log(this.str)
}
someFunction(this.str)