Write Concise Object Literal Declarations Using Simple Fields code review

Tell us what’s happening:

whats wrong in this code?

Your code so far


const createPerson = (name, age, gender) => ({name,age,gender});
  "use strict";
  // change code below this line
 /* return {
    name: name,
    age: age,
    gender: gender
  };*/
  // change code above this line
console.log(createPerson("Zodiac Hasbro", 56, "male")); // returns a proper object

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/write-concise-object-literal-declarations-using-simple-fields

The tests still recognize the commented code. Removing that should pass.