Skip to content

test: add edge case for factorial (negative)#2101

Closed
jackYurchenco wants to merge 1 commit intotrekhleb:masterfrom
jackYurchenco:add-edge-case
Closed

test: add edge case for factorial (negative)#2101
jackYurchenco wants to merge 1 commit intotrekhleb:masterfrom
jackYurchenco:add-edge-case

Conversation

@jackYurchenco
Copy link

Added test for factorial function:

  • negative numbers (throws RangeError)

@jackYurchenco jackYurchenco closed this by deleting the head repository Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant