diff options
Diffstat (limited to 'haxe.html.markdown')
-rw-r--r-- | haxe.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/haxe.html.markdown b/haxe.html.markdown index 05fa59bf..e086dd7a 100644 --- a/haxe.html.markdown +++ b/haxe.html.markdown @@ -189,7 +189,7 @@ class LearnHaxe3 { trace(m.get('bar') + " is the value for m.get('bar')"); trace(m['bar'] + " is the value for m['bar']"); - var m2 = ['foo' => 4, 'baz' => 6]; // Alternative map syntax + var m2 = ['foo' => 4, 'baz' => 6]; // Alternative map syntax trace(m2 + " is the value for m2"); // Remember, you can use type inference. The Haxe compiler will @@ -286,7 +286,7 @@ class LearnHaxe3 { } // do-while loop - var l = 0; + var l = 0; do { trace("do statement always runs at least once"); } while (l > 0); |