Y
Hacker News
new
|
ask
|
show
|
jobs
by
idontwantthis
283 days ago
You could do that more or less in Javascript by creating and initializing different member variables in the constructor depending on a constructor argument but I would hate you for it.