It's still pass by value of reference because this...
# getting-started
k
It's still pass by value of reference because this doesn't do anything:
Copy code
fun foo(str: String) {
    str = "hello"
}
val a = "hey"
foo(a)
println(a)