function map(array, mapFunc) {
		return _map(array, mapFunc);
	}
Promise-aware array map function, similar to `Array.prototype.map()`,
but input array may contain promises or values.
@param {Array|Promise} array array of anything, may contain promises and values
@param {function} mapFunc map function which may return a promise or value
@returns {Promise} promise that will fulfill with an array of mapped values
 or reject if any input promise rejects.