From e133062e353ae2e25daf50bb41f87f6896d2ae20 Mon Sep 17 00:00:00 2001 From: Alex P Date: Fri, 29 Jan 2021 20:23:05 +0000 Subject: [PATCH] fix: use fooData's values, not fooCopy's --- kotlin.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin.html.markdown b/kotlin.html.markdown index 5bbf6847..9394cc02 100644 --- a/kotlin.html.markdown +++ b/kotlin.html.markdown @@ -180,7 +180,7 @@ fun helloWorld(val name : String) { // destructuring in "for" loop for ((a, b, c) in listOf(fooData)) { - println("$a $b $c") // => 1 100 4 + println("$a $b $c") // => 1 2 4 } val mapData = mapOf("a" to 1, "b" to 2)