diff --git a/doc/site/modules/core/system.markdown b/doc/site/modules/core/system.markdown index 048214530..9c91a428d 100644 --- a/doc/site/modules/core/system.markdown +++ b/doc/site/modules/core/system.markdown @@ -28,6 +28,8 @@ the object is converted to a string by calling `toString` on it. System.print("I like bananas") //> I like bananas +Also returns `object`. + ### System.**printAll**(sequence) Iterates over `sequence` and prints each element, then prints a single newline @@ -49,6 +51,8 @@ System.write(4 + 5) //> 9 In the above example, the result of `4 + 5` is printed, and then the prompt is printed on the same line because no newline character was printed afterwards. +Also returns `object`. + ### System.**writeAll**(sequence) Iterates over `sequence` and prints each element, but does not print a newline