fix(learn): make semicolon at end of line optional (#39821)

This commit is contained in:
dhanush1909
2020-10-09 01:32:59 +05:30
committed by GitHub
parent 0fa965849e
commit a32427c120

View File

@ -31,7 +31,7 @@ tests:
- text: The value of <code>remainder</code> should be <code>2</code>
testString: assert(remainder === 2);
- text: You should use the <code>%</code> operator
testString: assert(/\s+?remainder\s*?=\s*?.*%.*;/.test(code));
testString: assert(/\s+?remainder\s*?=\s*?.*%.*;?/.test(code));
```