v

ar data = {
msg: "外部",
};
var b = "123";
let obj1 = {
a: function () {
console.log(this);
console.log(this.b);
},
b: 1,
c: () => {
console.log(this);
console.log(this.b);
},
};
obj1.a();
obj1.c();
var q = 123;
function Vue() {
var q = 54;
this.log = function () {
console.log(arguments);
};
this.data = {
msg: "hello world",
};
this.print = function () {
var q = 43;
console.log(this.data.msg, q);
};
this.print1 = () => {
console.log(this.data.msg, q);
};
}
console.log(q, "q", 121, 12, 1, 21, 2, 1);
console.log(console);
let obj = new Vue();
obj.log(q, "q", 121, 12, 1, 21, 2, 1);
obj.print();
obj.print1();