Answers for "how to declare objects inside arrays in javascript"

0

how to declare objects inside arrays in javascript

let cats = {
	name: 'bob',
  	children: [let child1 = {
               	console.log('this is how to create objects inside an array'];
               }]
};
Posted by: Guest on February-17-2021

Code answers related to "how to declare objects inside arrays in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language