Skip to content

Commit 0e59367

Browse files
authored
Update basics.md
1 parent b3e10c0 commit 0e59367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ println(addThenMultiply(1, 2)(3)) // 9
153153
Or no parameter lists at all.
154154

155155
```tut
156-
def name: String = System.getProperty("name")
156+
def name: String = System.getProperty("user.name")
157157
println("Hello, " + name + "!")
158158
```
159159

0 commit comments

Comments
 (0)