JanetDocsPlaygroundI'm feeling luckyGitHub sign in

repeat



    macro
    boot.janet on line 512, column 1

    (repeat n & body)

    Evaluate body n times. If n is negative, body will be evaluated 0 
    times. Evaluates to nil.


1 exampleSign in to add an example
Loading...
(repeat 3 (print "HO"))
# => prints
# HO
# HO
# HO
pepePlayground