Tambahkan properti imajiner ke objek
class Person
{
constructor()
{
this.post = function()
{
var x = new String("XXXXXXX");
x.y = "######";
return x;
}
}
}
Javasper