Repository navigation
fix(curriculum): allow arrow functions in factorial calculator lab - #69488
jacobptnguyen wants to merge 3 commits into
Conversation
Fixes freeCodeCamp#69469 - Lowercase "integrated development environment" in the definition sentence to match the lowercase form used in the three examples that follow - Change "Perhaps some examples might be helpful." to "Some examples will help." to remove stacked hedging - Remove the stray comma before "text and source code editor" in the VS Code description - Replace "where" with "whereas" to correctly express contrast between code editors and IDEs - Remove the incorrect hyphen in "fully-configured", since "fully" is an -ly adverb and shouldn't be hyphenated to the adjective it modifies - Replace "multiple different" with "many" to remove the redundancy
Replaced the factorialCalculator.toString() regex assertion (which only matched named function declarations) with assert.strictEqual(factorialCalculator.length, 1), so the arg-count hint passes for both function declarations and arrow function solutions.
|
Hi there, Thanks for opening this pull request. The automated checks found some issues: Linked Issue: The linked issue has not been triaged yet, and a solution has not been agreed upon. Once the issue is open for contribution, you are welcome to update this pull request to reflect the issue consensus. Until then, we will not be able to review your pull request. Join us in our chat room or our forum if you have any questions or need help with contributing. |
|
Hi there, Thanks for creating this pull request. The linked issue has not been triaged yet, and a solution has not been agreed upon. Once the issue is open for contribution, you are welcome to update this pull request to reflect the issue consensus. Until the issue is open for contribution, we will not be able to review your pull request. |
Checklist:
mainbranch of freeCodeCamp.Closes #69484
Replaced the factorialCalculator.toString() regex assertion (which only matched named function declarations) with assert.strictEqual(factorialCalculator.length, 1), so the arg-count hint passes for both function declarations and arrow function solutions.