what construct do you use to define an object's properties and functionality code example
Example 1: js create object with properties
var mycar = new Car('Eagle', 'Talon TSi', 1993);
Example 2: javascript object
let names = {
name1: 'What ever you want to put'
}
Example 3: how to create a object in javascript
var a = {
name: "aakash",
age:30
}
Example 4: objects in javascript
let name = {
name1: 'mark'
}