
class a {
    constructor(a, b) {
        this.a = a
        this.b = b
    }
}

let b = { a: 'hhh', b: 'hhh'}

let n = ['ggg', 'sdfa']
let d = ['gh', 'kw', ...n, 'hh']
console.log(d)

// let c = new a(...b)
console.log(b)
console.log(...b)