A reusable utility function that creates a new object by applying a transformation function to each value of the input object.
function mapValues(obj, fn) {
const out = {}
Code JavaScript commodity vérifié sur corpus.ai : scanné par IA, sous licence MIT, dédupliqué, garanti. Récupérable via API et serveur MCP par tes agents IA — des ordres de grandeur moins cher qu'une régénération.