diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json
index 695eb91080..a222694c3d 100644
--- a/challenges/02-javascript-algorithms-and-data-structures/es6.json
+++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json
@@ -651,22 +651,10 @@
"id": "587d7b8b367417b2b2512b50",
"title": "Enhanced Object Literals : Functions",
"description": [
- "With ES6, it's possible to remove the keyword function as follows, from object literals",
- "const Container extends Component {
",
- " render: function() {
",
- " return {
",
- " `
",
- " }
",
- " }
",
- "}
",
+ "With ES6, it's possible to remove the keyword function as follows, from object literals:",
+ "
const Container extends Component {", "We can remove the function keyword and colon (:) altogether - and get this:", - " const Container extends Component {", - " render() {", - " return {", - " `
render: function() {
return {
Container
}
}
}
const Container extends Component {", "Instructions", "Use object literal simplification to create and return a Person object" ], @@ -683,9 +671,9 @@ " }", "}", "/* Alter code above this line */", - "
render() {
return {
Container
}
}
}
const zod = Person(\"Zodiac Hasbro\", 56, 'male');
",
- "const yan = Person(\"Yanoshi Mimoto\", 55, 'male');
",
- "zod.sendFriendRequest(yan);
"
+ "const zod = Person(\"Zodiac Hasbro\", 56, 'male');",
+ "const yan = Person(\"Yanoshi Mimoto\", 55, 'male');",
+ "zod.sendFriendRequest(yan);"
],
"tests": [
"// Test the output is Sending request to Yanoshi Mimoto",