Well, the extension method defined in the Kotlin stdlib is implemented to call the member if the receiver is not null. So whether the two invocations would return different values entirely depends on the implementation of the member
method. Which, in the case of String, produces the same result across multiple invocations.
So this snippet would not return different values...does this answer your question?