The first code is basically: ```if (x != null) { ...
# getting-started
k
The first code is basically:
Copy code
if (x != null) {
    print(x.foo)
}
The run one compiles to:
Copy code
val y = x
if (y != null) {
    print(y.foo)
}