3 ms·yup. const action = (thing) => ... array_of_things.map(action)by ldd 7y agoyup. const action = (thing) => ... array_of_things.map(action)