/**
* Hey!
*
* * * *
*
* This is your private space where you can write
* the code and whatever you write will be saved
* in the local storage.
*
* Especially if you are old enough I hope you will enjoy
* the design as well.
*
* For now, below you find a short JavaScript program.
*
* GitHub Project:
* https://github.com/IonicaBizau/msdos-editor
*/
class Person {
constructor (name) {
this.name = name
}
getName() {
return this.name
}
toString() {
return this.getName()
}
}
const sayHello = name => {
console.info(`Saying hello to ${name}`)
console.log(`Hello, ${name}!`)
}
const Alice = new Person("Alice")
sayHello(Alice)