import Vue from 'vue' import App from './App.vue' import Message from './vue-m-message' Vue.use(Message) // will mount `Vue.prototype.$message` Vue.config.productionTip = false new Vue({ render: h => h(App), }).$mount('#app') // let a = {a:1,b:2}; // let b = ()=>{ // console.log(1111) // } // let c = {...a}; // b(); // console.log(c); // class Point { // constructor(x, y) { // this.x = x; // this.y = y; // } // toString() { // return '(' + this.x + ', ' + this.y + ')'; // } // }