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
http://webcache.googleusercontent.com/search?q=cache:DKKZb1P...
Discussion: https://news.ycombinator.com/item?id=8677721
No comments yet.