objetc creating in js code example
Example 1: javascript object
let names = {
name1: 'What ever you want to put'
}
Example 2: how to create a object in javascript
var a = {
name: "aakash",
age:30
}
let names = {
name1: 'What ever you want to put'
}
var a = {
name: "aakash",
age:30
}