Tell us what’s happening:
Hello everyone , I believe there has been a mistake in the code given to start this exercise, above the “// Only change code below this line” I believe there must be a ( and not a {
so something like that
const createPerson = (name, age, gender) => (
// Only change code below this line
return {
name: name,
age: age,
gender: gender
};
// Only change code above this line
);
**Your code so far**
const createPerson = (name, age, gender) => {
// Only change code below this line
return {
name: name,
age: age,
gender: gender
};
// Only change code above this line
};
**Your browser information:**
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Challenge: Write Concise Object Literal Declarations Using Object Property Shorthand