var a = new Vue({
el: '#a',
data: {
m:'¡Hey!'
},
methods: {
rm:function(){
this.m=this.m.split('').reduce((a, b)=>{return b + a;});
}
}
})
var myApp = new Vue({
el: '#my-app',
data: {
message: '¡Hola Vue Vixens MX!'
},
methods: {
reverseMessage: function () {
this.message = this.message.split('').reverse().join('')
}
}
})