Create Object from Function Parameters

Write a function makePerson that takes name and age as parameters, and returns an object with properties name and age set to the corresponding argument values.
Example: makePerson('Alice', 30) should return { name: 'Alice', age: 30 }.
JavaScript
Console