Skip to content

Instantly share code, notes, and snippets.

R.zipObj(['id', 'title'], ['2', 'mytitle']);
/*
{
id: '2',
title: 'mytitle'
}
*/
_.map([1,2,3], (n) => n * 2); // [2, 4, 6]