{"size": 347, "ext": "js", "max_stars_repo_path": "Exercises/8-create.js", "max_stars_repo_name": "Evgen097/Reusable", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Exercises/8-create.js", "max_issues_repo_name": "Evgen097/Reusable", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Exercises/8-create.js", "max_forks_repo_name": "Evgen097/Reusable", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 34.7, "max_line_length": 74, "alphanum_fraction": 0.6628242075}
'use strict';
// 8. Реализуйте функцию `createUser` с сигнатурой
//   `createUser(name: string, city: string): object`. Пример вызова:
//   `createUser('Marcus Aurelius', 'Roma')` функция должна вернуть объект
//   `{ name: 'Marcus Aurelius', city: 'Roma' }`

const createUser = (name, city) => ({ name, city });

module.exports = { createUser };
