Answers for "list of objects js"

0

js list of objects

var list = [
    { date: '12/1/2011', reading: 3, id: 20055 },
    { date: '13/1/2011', reading: 5, id: 20053 },
    { date: '14/1/2011', reading: 6, id: 45652 }
];
Posted by: Guest on May-20-2021
1

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) ;
Posted by: Guest on March-16-2020
0

how to crate a list in java script

var list = [1 ,2 ,"apple",true];
Posted by: Guest on March-10-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language