From 57b56b93f0758a1bea862d672b04cbeab4bbf53a Mon Sep 17 00:00:00 2001 From: Renat <44874616+PaLoMaster@users.noreply.github.com> Date: Sun, 27 Oct 2024 19:29:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20map.put()=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=20=D1=81=D1=83=D1=89=D0=B5=D1=81=D1=82=D0=B2=D1=83=D1=8E=D1=89?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- map-operations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map-operations.md b/map-operations.md index f3d397e..d0dfb0c 100644 --- a/map-operations.md +++ b/map-operations.md @@ -195,7 +195,7 @@ values of map entries. --> fun main() { val numbersMap = mutableMapOf("one" to 1, "two" to 2) val previousValue = numbersMap.put("one", 11) - println("value associated with 'one', before: $previousValue, after: ${numbersMap["one"]}") // 11 + println("value associated with 'one', before: $previousValue, after: ${numbersMap["one"]}") // value associated with 'one', before: 1, after: 11 println(numbersMap) // {one=11, two=2} } ```