SOURCE

var objB = new Object();
// var objB = Object();
objB.name = 'b';
objB.age= 31;
objB.sayName = function() {
    console.log(this.name);
    console.log(`My name is ${this.name} !`);
    console.log("1"+this.name+"2");
    console.log(`通配符`)
    console.log(`我的年龄是${this.age}`);
    console.log(objB.__proto__.age+`sss`)
}
objB.sayName();
var obj = new Object({x:2,y:1});
console.log(obj.x);
//var a = Object.create({x:10,y:4})
var test = Object.create({x:123,y:345});
console.log(test.__proto__.x);
//console.log(test._proto_.x);//3
console.log(test.__proto__.x);//3
console 命令行工具 X clear

                    
>
console