1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-09 16:26:53 +02:00

whitespace

This commit is contained in:
John Gabriele
2019-09-29 23:29:13 -04:00
committed by GitHub
parent a8d9e066ea
commit a22ba33953

View File

@@ -189,7 +189,7 @@ class LearnHaxe3 {
trace(m.get('bar') + " is the value for m.get('bar')"); trace(m.get('bar') + " is the value for m.get('bar')");
trace(m['bar'] + " is the value for m['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"); trace(m2 + " is the value for m2");
// Remember, you can use type inference. The Haxe compiler will // Remember, you can use type inference. The Haxe compiler will
@@ -286,7 +286,7 @@ class LearnHaxe3 {
} }
// do-while loop // do-while loop
var l = 0; var l = 0;
do { do {
trace("do statement always runs at least once"); trace("do statement always runs at least once");
} while (l > 0); } while (l > 0);