Skip to content

Commit 6daadcb

Browse files
authored
Add example for --
1 parent 9e44e8d commit 6daadcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/--.janet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(var a 10) # -> 10
2+
(set a (- a 1)) # -> 9
3+
(-- a) # -> 8 (same effect as above)

0 commit comments

Comments
 (0)