Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const ev = evolve({
- a: (x) => x + 1,
- c: () => 'ok',
- });
- const obj = {
- a: 10,
- b: 20,
- }
- ev(obj) // => { a: 11, b: 20 }
- // Object.keys(obj);
- const evolve = (evolveMap) => {
- return (o) => {
- //
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement