Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, but with a getter you can make getDate return a copy of the Date object to enforce immutability.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: