Hacker News new | ask | show | jobs
by Inviz 3729 days ago
It is possible to overload operators in JS through a horrible hack of valueOf():

http://webcache.googleusercontent.com/search?q=cache:DKKZb1P...

Discussion: https://news.ycombinator.com/item?id=8677721