function mapToString(map) {
			var representation = "";

			// eslint-disable-next-line @sinonjs/no-prototype-methods/no-prototype-methods
			map.forEach(function (value, key) {
				representation += `[${stringify(key)},${stringify(value)}],`;
			});

			representation = slice(representation, 0, -1);
			return representation;
		}
Creates a string representation of a Map

@private
@param   {Map} map    The map to stringify
@returns {string}     A string representation