Hello,
There may be a typo in challenge " ES6: Write Concise Object Literal Declarations…" at this URL.
The challenge asks to follow this pattern:
const getMousePosition = (x, y) => ({ x, y });
But within the proposed solution one is supposed to not touch the ending curly brace:
const createPerson = (name, age, gender) => {
// Only change code below this line
return {
name: name,
age: age,
gender: gender
};
// Only change code above this line
};