What value will be assigned to result in the following code?
const books = [
{ title: '1984', author: 'George Orwell' },
{ title: 'One Hundred Years of Solitude', author: 'Gabriel García Márquez' }
];
books.sort((a, b) => a.title.localeCompare(b.title));
const result = books[0].title;