```js
-// the global variable
+// The global variable
var bookList = ["The Hound of the Baskervilles", "On The Electrodynamics of Moving Bodies", "PhilosophiƦ Naturalis Principia Mathematica", "Disquisitiones Arithmeticae"];
// Change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/remove-elements-from-an-array-using-slice-instead-of-splice.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/remove-elements-from-an-array-using-slice-instead-of-splice.english.md
index 77b263ca4b..3d06097ed3 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/remove-elements-from-an-array-using-slice-instead-of-splice.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/remove-elements-from-an-array-using-slice-instead-of-splice.english.md
@@ -49,10 +49,10 @@ tests:
```js
function nonMutatingSplice(cities) {
- // Add your code below this line
+ // Only change code below this line
return cities.splice(3);
- // Add your code above this line
+ // Only change code above this line
}
var inputCities = ["Chicago", "Delhi", "Islamabad", "London", "Berlin"];
nonMutatingSplice(inputCities);
@@ -69,9 +69,9 @@ nonMutatingSplice(inputCities);
```js
function nonMutatingSplice(cities) {
- // Add your code below this line
+ // Only change code below this line
return cities.slice(0,3);
- // Add your code above this line
+ // Only change code above this line
}
var inputCities = ["Chicago", "Delhi", "Islamabad", "London", "Berlin"];
nonMutatingSplice(inputCities);
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-a-sorted-array-without-changing-the-original-array.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-a-sorted-array-without-changing-the-original-array.english.md
index 79d808ed08..cab7bcca44 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-a-sorted-array-without-changing-the-original-array.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-a-sorted-array-without-changing-the-original-array.english.md
@@ -43,10 +43,10 @@ tests:
```js
var globalArray = [5, 6, 3, 2, 9];
function nonMutatingSort(arr) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
nonMutatingSort(globalArray);
```
@@ -63,9 +63,9 @@ nonMutatingSort(globalArray);
```js
var globalArray = [5, 6, 3, 2, 9];
function nonMutatingSort(arr) {
- // Add your code below this line
+ // Only change code below this line
return [].concat(arr).sort((a,b) => a-b);
- // Add your code above this line
+ // Only change code above this line
}
nonMutatingSort(globalArray);
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-part-of-an-array-using-the-slice-method.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-part-of-an-array-using-the-slice-method.english.md
index 5ed6d4b541..15dfdca834 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-part-of-an-array-using-the-slice-method.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/return-part-of-an-array-using-the-slice-method.english.md
@@ -50,10 +50,10 @@ tests:
```js
function sliceArray(anim, beginSlice, endSlice) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
var inputAnim = ["Cat", "Dog", "Tiger", "Zebra", "Ant"];
sliceArray(inputAnim, 1, 3);
@@ -70,9 +70,9 @@ sliceArray(inputAnim, 1, 3);
```js
function sliceArray(anim, beginSlice, endSlice) {
- // Add your code below this line
+ // Only change code below this line
return anim.slice(beginSlice, endSlice)
- // Add your code above this line
+ // Only change code above this line
}
var inputAnim = ["Cat", "Dog", "Tiger", "Zebra", "Ant"];
sliceArray(inputAnim, 1, 3);
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/sort-an-array-alphabetically-using-the-sort-method.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/sort-an-array-alphabetically-using-the-sort-method.english.md
index f6e829fcf4..afc7cf3743 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/sort-an-array-alphabetically-using-the-sort-method.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/sort-an-array-alphabetically-using-the-sort-method.english.md
@@ -65,10 +65,10 @@ tests:
```js
function alphabeticalOrder(arr) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
```
@@ -84,9 +84,9 @@ alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
```js
function alphabeticalOrder(arr) {
- // Add your code below this line
+ // Only change code below this line
return arr.sort();
- // Add your code above this line
+ // Only change code above this line
}
alphabeticalOrder(["a", "d", "c", "a", "z", "g"]);
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/split-a-string-into-an-array-using-the-split-method.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/split-a-string-into-an-array-using-the-split-method.english.md
index 0559c90b4a..3d7f20da6a 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/split-a-string-into-an-array-using-the-split-method.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/split-a-string-into-an-array-using-the-split-method.english.md
@@ -53,10 +53,10 @@ tests:
```js
function splitify(str) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
splitify("Hello World,I-am code");
```
@@ -72,9 +72,9 @@ splitify("Hello World,I-am code");
```js
function splitify(str) {
- // Add your code below this line
+ // Only change code below this line
return str.split(/\W/);
- // Add your code above this line
+ // Only change code above this line
}
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md
index cde9671a30..4317257488 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md
@@ -50,10 +50,10 @@ tests:
```js
function checkPositive(arr) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
checkPositive([1, 2, 3, -4, 5]);
```
@@ -69,9 +69,9 @@ checkPositive([1, 2, 3, -4, 5]);
```js
function checkPositive(arr) {
- // Add your code below this line
+ // Only change code below this line
return arr.every(num => num > 0);
- // Add your code above this line
+ // Only change code above this line
}
checkPositive([1, 2, 3, -4, 5]);
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
index 59645d4c07..ae5b3a6afd 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-filter-method-to-extract-data-from-an-array.english.md
@@ -54,7 +54,7 @@ tests:
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
@@ -168,11 +168,11 @@ var watchList = [
}
];
-// Add your code below this line
+// Only change code below this line
var filteredList;
-// Add your code above this line
+// Only change code above this line
console.log(filteredList);
```
@@ -187,7 +187,7 @@ console.log(filteredList);
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
@@ -301,9 +301,9 @@ var watchList = [
}
];
-// Add your code below this line
+// Only change code below this line
let filteredList = watchList.filter(e => e.imdbRating >= 8).map( ({Title: title, imdbRating: rating}) => ({title, rating}) );
-// Add your code above this line
+// Only change code above this line
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
index 74948db906..95748fc074 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array.english.md
@@ -57,7 +57,7 @@ tests:
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
@@ -171,14 +171,14 @@ var watchList = [
}
];
-// Add your code below this line
+// Only change code below this line
var ratings = [];
for(var i=0; i < watchList.length; i++){
ratings.push({title: watchList[i]["Title"], rating: watchList[i]["imdbRating"]});
}
-// Add your code above this line
+// Only change code above this line
console.log(JSON.stringify(ratings));
```
@@ -200,7 +200,7 @@ const removeJSComments = str => str.replace(/\/\*[\s\S]*?\*\/|\/\/.*$/gm, '');
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
index 568f6fdb2f..0cf9f756c9 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data.english.md
@@ -79,7 +79,7 @@ tests:
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
@@ -194,11 +194,11 @@ var watchList = [
];
function getRating(watchList){
- // Add your code below this line
+ // Only change code below this line
var averageRating;
- // Add your code above this line
+ // Only change code above this line
return averageRating;
}
console.log(getRating(watchList));
@@ -214,7 +214,7 @@ console.log(getRating(watchList));
```js
-// the global variable
+// The global variable
var watchList = [
{
"Title": "Inception",
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.english.md
index b762b9eb29..65bbdba77d 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.english.md
@@ -50,10 +50,10 @@ tests:
```js
function checkPositive(arr) {
- // Add your code below this line
+ // Only change code below this line
- // Add your code above this line
+ // Only change code above this line
}
checkPositive([1, 2, 3, -4, 5]);
```
@@ -69,9 +69,9 @@ checkPositive([1, 2, 3, -4, 5]);
```js
function checkPositive(arr) {
- // Add your code below this line
+ // Only change code below this line
return arr.some(elem => elem > 0);
- // Add your code above this line
+ // Only change code above this line
}
checkPositive([1, 2, 3, -4, 5]);
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.english.md
index 9b55ca9bbc..bfb642ffbb 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/add-methods-after-inheritance.english.md
@@ -74,17 +74,14 @@ Animal.prototype.eat = function() { console.log("nom nom nom"); };
function Dog() { }
-// Add your code below this line
+// Only change code below this line
-// Add your code above this line
+// Only change code above this line
let beagle = new Dog();
-
-beagle.eat(); // Should print "nom nom nom"
-beagle.bark(); // Should print "Woof!"
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/change-the-prototype-to-a-new-object.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/change-the-prototype-to-a-new-object.english.md
index 04e53f6a2f..a296611a89 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/change-the-prototype-to-a-new-object.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/change-the-prototype-to-a-new-object.english.md
@@ -75,7 +75,7 @@ function Dog(name) {
}
Dog.prototype = {
- // Add your code below this line
+ // Only change code below this line
};
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
index 099893a876..9554a33f7d 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
@@ -81,13 +81,10 @@ Animal.prototype = {
}
};
-// Add your code below this line
+// Only change code below this line
let duck; // Change this line
let beagle; // Change this line
-
-duck.eat(); // Should print "nom nom nom"
-beagle.eat(); // Should print "nom nom nom"
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.english.md
index 016c618645..36755290c3 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.english.md
@@ -77,7 +77,7 @@ let beagle = new Dog("Snoopy");
let ownProps = [];
let prototypeProps = [];
-// Add your code below this line
+// Only change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/override-inherited-methods.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/override-inherited-methods.english.md
index 1d22e5efe2..cb14ddb6c2 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/override-inherited-methods.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/override-inherited-methods.english.md
@@ -82,11 +82,11 @@ function Penguin() { }
Penguin.prototype = Object.create(Bird.prototype);
Penguin.prototype.constructor = Penguin;
-// Add your code below this line
+// Only change code below this line
-// Add your code above this line
+// Only change code above this line
let penguin = new Penguin();
console.log(penguin.fly());
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.english.md
index 78b17a2be9..3c13320dcf 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/reset-an-inherited-constructor-property.english.md
@@ -62,7 +62,7 @@ function Dog() { }
Bird.prototype = Object.create(Animal.prototype);
Dog.prototype = Object.create(Animal.prototype);
-// Add your code below this line
+// Only change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/set-the-childs-prototype-to-an-instance-of-the-parent.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/set-the-childs-prototype-to-an-instance-of-the-parent.english.md
index 8742bab341..41da8f8ac4 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/set-the-childs-prototype-to-an-instance-of-the-parent.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/set-the-childs-prototype-to-an-instance-of-the-parent.english.md
@@ -58,11 +58,11 @@ Animal.prototype = {
function Dog() { }
-// Add your code below this line
+// Only change code below this line
let beagle = new Dog();
-beagle.eat(); // Should print "nom nom nom"
+
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.english.md
index 45db91989a..ab1c8a2446 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.english.md
@@ -71,7 +71,7 @@ function Bird(name) {
let canary = new Bird("Tweety");
let ownProps = [];
-// Add your code below this line
+// Only change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-constructor-property.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-constructor-property.english.md
index 077b7bcf6d..28652884c8 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-constructor-property.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-constructor-property.english.md
@@ -64,7 +64,7 @@ function Dog(name) {
this.name = name;
}
-// Add your code below this line
+// Only change code below this line
function joinDogFraternity(candidate) {
}
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-where-an-objects-prototype-comes-from.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-where-an-objects-prototype-comes-from.english.md
index 1137a9e0c0..da44752c9c 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-where-an-objects-prototype-comes-from.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-where-an-objects-prototype-comes-from.english.md
@@ -55,7 +55,7 @@ function Dog(name) {
let beagle = new Dog("Snoopy");
-// Add your code below this line
+// Only change code below this line
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-constructor-to-create-objects.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-constructor-to-create-objects.english.md
index ca0522ac3b..f3717bf661 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-constructor-to-create-objects.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-constructor-to-create-objects.english.md
@@ -68,7 +68,7 @@ function Dog() {
this.color = "brown";
this.numLegs = 4;
}
-// Add your code below this line
+// Only change code below this line
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-mixin-to-add-common-behavior-between-unrelated-objects.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-mixin-to-add-common-behavior-between-unrelated-objects.english.md
index 0156dd8e96..093d24cd03 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-mixin-to-add-common-behavior-between-unrelated-objects.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-a-mixin-to-add-common-behavior-between-unrelated-objects.english.md
@@ -82,7 +82,7 @@ let boat = {
type: "race-boat"
};
-// Add your code below this line
+// Only change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md
index ad4a8c1338..61f9c93fef 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md
@@ -50,7 +50,7 @@ let dog = {
name: "Spot",
numLegs: 4
};
-// Add your code below this line
+// Only change code below this line
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.english.md
index 6c0eb351d7..3a158e252d 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.english.md
@@ -60,7 +60,7 @@ function Dog(name) {
-// Add your code above this line
+// Only change code above this line
let beagle = new Dog("Snoopy");
```
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/verify-an-objects-constructor-with-instanceof.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/verify-an-objects-constructor-with-instanceof.english.md
index 6e3470d34d..4aea7e6904 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/verify-an-objects-constructor-with-instanceof.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/verify-an-objects-constructor-with-instanceof.english.md
@@ -64,7 +64,7 @@ function House(numBedrooms) {
this.numBedrooms = numBedrooms;
}
-// Add your code below this line
+// Only change code below this line
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-one-or-more-criminals-in-a-hunt.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-one-or-more-criminals-in-a-hunt.english.md
index 4035acd1e2..5d99506be8 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-one-or-more-criminals-in-a-hunt.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-one-or-more-criminals-in-a-hunt.english.md
@@ -64,13 +64,8 @@ tests:
```js
-// example crowd gathering
-let crowd = 'P1P2P3P4P5P6CCCP7P8P9';
-
let reCriminals = /./; // Change this line
-let matchedCriminals = crowd.match(reCriminals);
-console.log(matchedCriminals);
```
@@ -83,13 +78,7 @@ console.log(matchedCriminals);
```js
-// example crowd gathering
-let crowd = 'P1P2P3P4P5P6CCCP7P8P9';
-
let reCriminals = /C+/; // Change this line
-
-let matchedCriminals = crowd.match(reCriminals);
-
```