diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index 3528bd660e..a77bf08df3 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -1195,6 +1195,11 @@ "text": "Vegetable can be instantiated.", "testString": "assert(() => {const a = new Vegetable(\"apple\"); return typeof a === 'object';},'Vegetable can be instantiated.');" + }, + { + "text": "carrot.name should return carrot.", + "testString": + "assert(carrot.name=='carrot','carrot.name should return carrot.');" } ], "releasedOn": "Feb 17, 2017",