diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json b/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json
index 82403ab3ca..941222890e 100644
--- a/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json
+++ b/seed/challenges/02-javascript-algorithms-and-data-structures/es6.json
@@ -1067,9 +1067,9 @@
"ES6 provides a new syntax to help create objects, using the keyword class.",
"This is to be noted, that the class
syntax is just a syntax, and not a full-fledged class based implementation of object oriented paradigm, unlike in languages like Java, or Python, or Ruby etc.",
"In ES5, we usually define a constructor function, and use the new
keyword to instantiate an object.",
- "
var SpaceShuttle = function(targetPlanet){", + "
this.targetPlanet = targetPlanet;
}
var zeus = new spaceShuttle('Jupiter');
var SpaceShuttle = function(targetPlanet){", "The class syntax simply replaces the constructor function creation:", - "
this.targetPlanet = targetPlanet;
}
var zeus = new SpaceShuttle('Jupiter');
class SpaceShuttle {", + "
constructor(targetPlanet){
this.targetPlanet = targetPlanet;
}
}
const zeus = new spaceShuttle('Jupiter');
class SpaceShuttle {", "Notice that the
constructor(targetPlanet){
this.targetPlanet = targetPlanet;
}
}
const zeus = new SpaceShuttle('Jupiter');
class
keyword declares a new function, and a constructor was added, which would be invoked when new
is called - to create a new object.",
"class
keyword and write a proper constructor to create the Vegetable
class.",