javascript to object code example
Example 1: how to create a object in javascript
var a = {
name: "aakash",
age:30
}
Example 2: objects in javascript
let name = {
name1: 'mark'
}
var a = {
name: "aakash",
age:30
}
let name = {
name1: 'mark'
}