In JSAPI v3.x it's not possible to change spatial reference of a map which has been already initialized (as a workaround we used to create a new map, set extent with the required spatial reference and copy all layers from the original map to the new one).
We do this because we need to support switching basemaps with different coordinate systems in the same app.
Is it possible to change spatial reference of a map in JSAPI v4.0?