JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

+=

core-api


    macro
    boot.janet on line 141, column 1

    (+= x & ns)

    Increments the var x by n.


See also:inc2 examplesSign in to add an example
Loading...
(var x 1)
(+= x 2 3 4)
# x = 10
erichaneyPlayground
(do
  (var a 88)
  (+= a 12))  # 100
btbytesPlayground