Answers for "how to create object contains objects in javascript"

2

js create object with properties

function Car(make, model, year) {
  this.make = make;
  this.model = model;
  this.year = year;
}
Posted by: Guest on April-01-2020
0

how to create a object in javascript

var a = {
name: "aakash",
  age:30
}
Posted by: Guest on May-16-2020

Code answers related to "how to create object contains objects in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language