Honestly i dont even have a question. the problem on this page had no real context and sucked for someone newer at javascript. there was no names or things to reference or showing what the user was inputting. please change this. it makes it so much more frustrating. i learned nothing on this question
const createPerson = (name, age, gender) => {
// Only change code below this line
const createPerson = (name, age, gender) => ({name, age, gender});
return createPerson
// Only change code above this line
};
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Challenge: ES6 - Write Concise Object Literal Declarations Using Object Property Shorthand
Link to the challenge: