Buat kelas menggunakan JavaScript
class Person
{
constructor(name)
{
this.name = name;
console.log("HELLO WORLD")
/*console.log will show HELLO WORLD everytime an instance of Person is created*/
}
}
Javasper