Map using tuples or objects
Ok, I’ve raised the issue on esdiscuss now and I got an answer from Mozilla’s Jason Orendorff: This is a problem with ES6 maps. The solution will come in the form of ES7 value objects for keys instead of objects. It was considered before to let people specify .equals and .hashCode but it was rejected … Read more