MongoDB Shell support for map.set()
No, they hide the standard implementation in implscope.cpp


  // This builtin map is a javascript 6 thing.  We want our version.  so
  // take theirs out


and implement a new one in types.js.

Well, you can workaround doing:

Map.prototype.set = Map.prototype.put