From 693d29cd4db7c18ef395e4150dbc40d9a85cc8e7 Mon Sep 17 00:00:00 2001 From: vazor222 Date: Mon, 27 Feb 2017 13:06:45 -0700 Subject: [PATCH] update syntax.md `const` section Added additional information about `const` alternatives. --- comparing-haxe-and-actionscript/deep-dive/syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comparing-haxe-and-actionscript/deep-dive/syntax.md b/comparing-haxe-and-actionscript/deep-dive/syntax.md index 2874969..d1f03ee 100644 --- a/comparing-haxe-and-actionscript/deep-dive/syntax.md +++ b/comparing-haxe-and-actionscript/deep-dive/syntax.md @@ -240,7 +240,7 @@ The Haxe programming language is designed to limit the number of keywords, so th * `const` - Actionscript uses the `const` keyword to define a constant value. Because Haxe supports inlining, a `const` keyword is not necessary. + Actionscript uses the `const` keyword to define a constant value. Because Haxe supports inlining, a `const` keyword is not necessary. Haxe does not support instance constants, but you may make a read only property with the keyword `never`. Haxe does not support local constants. ```haxe public static inline var gravity = 9.8;