mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): remove before/after-user-code from basic javascript challenges 45-47 (#66470)
This commit is contained in:
parent
be81d12033
commit
f853374e4d
@ -39,12 +39,6 @@ assert(/difference=45-33;?/.test(__helpers.removeWhiteSpace(__helpers.removeJSCo
|
||||
|
||||
# --seed--
|
||||
|
||||
## --after-user-code--
|
||||
|
||||
```js
|
||||
(function(z){return 'difference = '+z;})(difference);
|
||||
```
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
@ -54,12 +54,6 @@ assert.deepEqual(myArray, [1, 2, 3, 4, 5]);
|
||||
|
||||
# --seed--
|
||||
|
||||
## --after-user-code--
|
||||
|
||||
```js
|
||||
if (typeof myArray !== "undefined"){(function(){return myArray;})();}
|
||||
```
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
@ -39,12 +39,6 @@ assert(/\d+\s*\/\s*\d+/.test(__helpers.removeJSComments(code)));
|
||||
|
||||
# --seed--
|
||||
|
||||
## --after-user-code--
|
||||
|
||||
```js
|
||||
(function(z){return 'quotient = '+z;})(quotient);
|
||||
```
|
||||
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
Loading…
Reference in New Issue
Block a user