Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

destructured object

let renseignement = ['voleur' , '10' , 'spécialité'] ;


let [classe , force, magie] = renseignement ;

console.log(classe) ;
console.log(force) ;
console.log(magie) ;
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #destructured #object
ADD COMMENT
Topic
Name
5+1 =