what can you do with objects in javascript code example
Example 1: javascript object
let names = {
name1: 'What ever you want to put'
}
Example 2: create object javascript
let voleur = {
action : () =>console.log ('Coup de dague fatal') ,
crie : ('pour la horde!!!!') ,
coupfatal :()=> console.log ('coup dans le dos')
}
voleur.action() ;
voleur.coupfatal() ;
console.log(voleur.crie) ;