let arr = []; let student = { name: 'John', lastName: 'Doe', age: 35, gender: 'Male', department: 'English', car: 'Honda' }; arr.push(student) let data = JSON.stringify(arr);