Answers for "(object)"

0

object object javascript

person = {
    'name':'john smith'
    'age':41
};

console.log(person);
//this will return [object Object]
//use
console.log(JSON.stringify(person));
//instead
Posted by: Guest on April-20-2020
1

js object

var person = {
  "name" : "Mrs. White"
};
Posted by: Guest on October-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language