fix(curriculum): remove before/after-user-code from basic javascript challenges 22-26 (#66465)

This commit is contained in:
Sem Bauke
2026-03-15 17:02:02 +01:00
committed by GitHub
parent 4ab140121c
commit d7ea28341e
5 changed files with 0 additions and 30 deletions

View File

@@ -52,12 +52,6 @@ assert(!__helpers.removeWhiteSpace(__helpers.removeJSComments(code)).match(/tota
# --seed--
## --after-user-code--
```js
(function(){if(typeof total !== 'undefined') { return "total = " + total; } else { return "total is undefined";}})()
```
## --seed-contents--
```js

View File

@@ -64,12 +64,6 @@ assert(
# --seed--
## --after-user-code--
```js
if(typeof myArray !== "undefined" && typeof myData !== "undefined"){(function(y,z){return 'myArray = ' + JSON.stringify(y) + ', myData = ' + JSON.stringify(z);})(myArray, myData);}
```
## --seed-contents--
```js

View File

@@ -53,12 +53,6 @@ assert(
# --seed--
## --after-user-code--
```js
(function(z){return 'myArray = ' + JSON.stringify(z);})(myArray);
```
## --seed-contents--
```js

View File

@@ -65,12 +65,6 @@ assert(
# --seed--
## --after-user-code--
```js
if (typeof removedFromMyArray !== 'undefined') (function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);
```
## --seed-contents--
```js

View File

@@ -61,12 +61,6 @@ assert(
# --seed--
## --after-user-code--
```js
if (typeof removedFromMyArray !== 'undefined') (function(y, z){return 'myArray = ' + JSON.stringify(y) + ' & removedFromMyArray = ' + JSON.stringify(z);})(myArray, removedFromMyArray);
```
## --seed-contents--
```js