G2A Many GEOs
SHARE
TWEET

Untitled

a guest Apr 9th, 2020 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.   let unNom = "Aurelien"; //undefined
  3.  
  4.  
  5.  
  6.  
  7.   let personne;
  8.  
  9.   personne = {
  10.     nom: unNom,
  11.     age: 75,
  12.     adresse: {
  13.       numRue: "212",
  14.       nomRue: "rue Rivoli",
  15.       ville: "Paris",
  16.       codePostal: 95000
  17.     },
  18.     amis: [
  19.       {
  20.         nom: "Ginette",
  21.         age: 76,
  22.         adresse: {
  23.           numRue: "213",
  24.           nomRue: "rue Rivoli",
  25.           ville: "Paris",
  26.           codePostal: 95000
  27.         },
  28.       },
  29.       {
  30.         nom: "Jean-mi",
  31.         age: 74,
  32.         adresse: {
  33.           numRue: "213",
  34.           nomRue: "rue Rivoli",
  35.           ville: "Paris",
  36.           codePostal: 95000
  37.         },
  38.       },
  39.     ],
  40.   }
  41.  
  42.  
  43.   console.log("personne", personne.amis[1].adresse.codePostal )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top