Ask about the grammar of RowDataPacket

[RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password: undefined" Random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null},
RowDataPacket {name: "zhang3", password:" undefined", random: null}]

nodejs+mysql query to get the structural data as above. I found some ways to convert to json or objec, but what I want to ask here is, purely from the syntax of JavaScript, is this a legal array? That is, is
RowDataPacket {name: "zhang3", password:" undefined", random: null}
a legal object?

Thank you for your advice.

Jun.27,2022

RowDataPacket is a class.

class RowDataPacket {
  constructor(x, y) {
    this.x = x;
    this.y = y;
  }
}

console.log(new RowDataPacket(1, 2));  // RowDataPacket { x: 1, y: 2 }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a699-2c22a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a699-2c22a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?