text: 'use strict';
  
  const phonebook = [
    {
      name: 'Marcus Aurelius',
      phone: '+77',
    },
    {
      name: 'Alex Pupkin',
      phone: '+88',
    },
  ];
  
  const findPhoneByName = (name) => {
    for (const item of phonebook) {
      if (item.name === name) return item.phone;
    }
  };
  
  module.exports = { phonebook, findPhoneByName };
  