This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
'use strict'; | |
const address = { | |
city: "Lyon", | |
state: "FR", | |
zip: 69001 | |
}; | |
const listeSports = ['Football', 'BasketBall'] | |
const autreListeSports = ['Boxe', 'Judo'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
'use strict'; | |
const profile = { | |
name: 'Alexandre', | |
getName() { | |
return this.name | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
'use strict'; | |
let city = 'Bordeaux'; | |
let age = '29 ans'; | |
const dateOfBirth = '10 décembre 1988'; | |
const string = `J'habite à ${city}, j'ai ${age} ans et je suis né le ${dateOfBirth}`; | |
console.log(string); | |
})(); |
NewerOlder