JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

+=

core-api


    macro
    boot.janet on line 144, column 1

    (+= x & ns)

    Shorthand for (set x (+ x ;ns)).


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