Join Slack
Powered by
Hello! For swapping two Int's, you can do this: `v...
# getting-started
j
jabba
10/08/2017, 10:34 AM
Hello! For swapping two Int's, you can do this:
var a = 3; var b = 8; a = b.also { b = a }
. Can someone explain how it works?
2
Views
Open in Slack
Previous
Next