Fixed: minor typo in code example

This commit is contained in:
arookas 2016-02-02 19:17:29 -05:00
parent c95411a83b
commit 15a5e254b6

View file

@ -63,7 +63,7 @@ const PI = 3.14;
const TWOPI = 2 * pi;
const R = 300.0;
var circ = R * TWOPI; // this actually compiles to 'var circ = r * (2 * (3.14));'
var circ = R * TWOPI; // this actually compiles to 'var circ = 300.0 * (2 * (3.14));'
```
_**Note:** You may assign only expressions which are evaluated to be constant._