fix(curriculum): look for inlined filter function (#41953)
parent
2eac236e39
commit
9c28a2300a
|
@ -46,7 +46,7 @@ assert(
|
||||||
Your code should use the `filter` method.
|
Your code should use the `filter` method.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(code.match(/\.filter/g));
|
assert(code.match(/\s*\.\s*filter/g));
|
||||||
```
|
```
|
||||||
|
|
||||||
Your code should not use a `for` loop.
|
Your code should not use a `for` loop.
|
||||||
|
|
Loading…
Reference in New Issue