So ES 6 is bringing us Maps (and none too soon). Wishing to subclass Map for my own nefarious purposes, I tried the following (abbreviated for clarity):
function
You should be able to do something like this:
function Foo() { return new (Map.bind(this, [].slice.call(arguments))); } var bar = new Foo();