JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

product

core-api


    function
    boot.janet on line 826, column 1

    (product x)

    Returns the product of the values of `x`. If `x` is empty, returns 
    1.

    `x` can be a bytes, indexed, dictionary, fiber, or abstract type 
    with suitable `get` and `next` methods.


1 exampleSign in to add an example
Loading...
(* 3 4 5)          # => 60
(product [3 4 5])  # => 60
cellularmitosisPlayground