Создайте объект JSON в JavaScript
var employee = {
"firstName": firstName,
"lastName": lastName
}
Precious Panther
var employee = {
"firstName": firstName,
"lastName": lastName
}
JSON.stringify(the_data);
const student = {
name: "bob",
age: 7,
grade: 6
}