How to add an array property in an object constructor?

后端 未结 0 984
北恋
北恋 2021-01-22 09:44
const myCountry = function (country, capital, language, population) {

     (this.country = country),

     (this.capital = capital),

     (this.language = language),

         


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