Skip to content

Add multiplication function #4

Open

Description

@Tlacenka

User story

As a user, I want to be able to multiply numbers as well, so that I don't have to add them up N times instead.

Acceptance criteria

  • A multiplication function is implemented.
  • Tests cover this new functionality.

Implementation details

Test case example:

test("should multiply several numbers", () => {
  expect(multiply([2, 3, 4])).toBe(24);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions