diff --git a/doc/site/functions.markdown b/doc/site/functions.markdown index 3c8d3f56..b7d77f95 100644 --- a/doc/site/functions.markdown +++ b/doc/site/functions.markdown @@ -107,7 +107,7 @@ of the body, like so: System.print("Hi, " + first + " " + last + "!") } -Here we're passing a function to `greet` that takes two parameters, `first` and +Here we're passing a function to `callMe` that takes two parameters, `first` and `last`. They are passed to the function when it's called: :::wren diff --git a/doc/site/lists.markdown b/doc/site/lists.markdown index d47c22c8..368ebbac 100644 --- a/doc/site/lists.markdown +++ b/doc/site/lists.markdown @@ -67,7 +67,7 @@ use `add` to append a single item to the end: :::wren hirsute.add("goatee") - System.print(hirsute.count) //> 4 + System.print(hirsute.count) //> 5 You can insert a new element at a specific position using `insert`: