function evaluateFunction({ a: 3, b: 7, c: 5 }, n => n * 2);
/* Returns:
{
a: 6,
b: 14,
c: 10
}
*/
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
function evaluateFunction({ a: 3, b: 7, c: 5 }, n => n * 2);
/* Returns:
{
a: 6,
b: 14,
c: 10
}
*/