From a8d9e066eae5f48b27c93df3d0bbb53cd232a63a Mon Sep 17 00:00:00 2001 From: John Gabriele Date: Sun, 29 Sep 2019 23:21:42 -0400 Subject: [PATCH] decrements too --- haxe.html.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/haxe.html.markdown b/haxe.html.markdown index 6a50b88b..05fa59bf 100644 --- a/haxe.html.markdown +++ b/haxe.html.markdown @@ -234,10 +234,9 @@ class LearnHaxe3 { ^ Bitwise exclusive OR | Bitwise inclusive OR */ - - // increments + var i = 0; - trace("Increments and decrements"); + trace("Pre-/Post- Increments and Decrements"); trace(i++); // i = 1. Post-Increment trace(++i); // i = 2. Pre-Increment trace(i--); // i = 1. Post-Decrement