diff --git a/source-tw/chapter2/06_Functions.md b/source-tw/chapter2/06_Functions.md index 6e3c5e5b..f67c6daf 100644 --- a/source-tw/chapter2/06_Functions.md +++ b/source-tw/chapter2/06_Functions.md @@ -76,7 +76,7 @@ println(sayHelloAgain("Anna")) func halfOpenRangeLength(start: Int, end: Int) -> Int { return end - start } -println(halfOpenRangeLength(1, 10)) +println(halfOpenRangeLength(1, end:10)) // prints "9" ```