mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02:00
update the comment in as well
This commit is contained in:
@@ -198,7 +198,7 @@ foo 5 -- 15
|
|||||||
-- multiplies the result of that by 4, and then returns the final value.
|
-- multiplies the result of that by 4, and then returns the final value.
|
||||||
foo = (*4) . (+10)
|
foo = (*4) . (+10)
|
||||||
|
|
||||||
-- (5 + 10) * 4 = 75
|
-- (5 + 10) * 4 = 40
|
||||||
foo 5 -- 60
|
foo 5 -- 60
|
||||||
|
|
||||||
-- fixing precedence
|
-- fixing precedence
|
||||||
|
Reference in New Issue
Block a user