Structs in Javascript

后端 未结 8 1396
花落未央
花落未央 2020-12-12 09:29

Previously, when I needed to store a number of related variables, I\'d create a class.

function Item(id, speaker, country) {
    this.id = id;
    this.speak         


        
8条回答
提交回复
热议问题