From e48f50857ec9e0347a2595e8b2e99e0b3b7f599f Mon Sep 17 00:00:00 2001 From: Zee Ma Date: Sun, 27 Sep 2015 15:19:46 +0800 Subject: [PATCH] Wrong Number --- source/chapter2/06_Functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/chapter2/06_Functions.md b/source/chapter2/06_Functions.md index 5057346b..3d7c8c10 100755 --- a/source/chapter2/06_Functions.md +++ b/source/chapter2/06_Functions.md @@ -301,7 +301,7 @@ someFunction(1, 2) func someFunction(parameterWithDefault: Int = 12) { // function body goes here // if no arguments are passed to the function call, - // value of parameterWithDefault is 42 + // value of parameterWithDefault is 12 } someFunction(6) // parameterWithDefault is 6 someFunction() // parameterWithDefault is 12