Object doesn't inherit properties and values

前端 未结 0 1195
花落未央
花落未央 2020-11-22 09:41

I\'ve defined an object and when I instantiate it the instance doesn\'t contain the properties and values of the parent.

const myObject = {
    myNumbers: [7,         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题