Tiny JavaScript utility that maps an array of objects with a title property into an array of strings.
import { mapTitles } from './src/mapTitles.js';
const items = [{ title: 'Hello' }, { title: 'World' }];
console.log(mapTitles(items)); // ["Hello", "World"]