var parent = Object.create(Object.prototype, { a: { value: 1, writable: true, enumerable: true, configurable: true } }); parent继承自Object.prototype,有一个可枚举的属性a.下面我们在创建一个继承自parent的对象child. var child = Object.create(parent, { b: { value: 2, writable: tru…