Tell us what’s happening:
I have a problem in solving this code
Your code so far
const createPerson = (name, age, gender) =>
“use strict”;
// Only change code below this line
({ name, age, gender });
// Only change code above this line
const createPerson = (name, age, gender) =>
"use strict";
// Only change code below this line
({ name, age, gender });
// Only change code above this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36.
Challenge: Write Concise Object Literal Declarations Using Object Property Shorthand
Link to the challenge: