GOLANGTESTS Telegram 427
👣 Что выведет код ?

package main

func main() {
m := make(map[float64]int, 8)
k := 0.0
m[k] = 0
k /= k // k is NaN now
m[k] = 1
m[k] = 2
for k := range m {
delete(m, k)
}
print(len(m))
clear(m)
println(len(m))
}

📌Ответ

Пишите свой ответ в комментариях👇

@golangtests
Please open Telegram to view this post
VIEW IN TELEGRAM
👍62🔥1



tgoop.com/golangtests/427
Create:
Last Update:

👣 Что выведет код ?

package main

func main() {
m := make(map[float64]int, 8)
k := 0.0
m[k] = 0
k /= k // k is NaN now
m[k] = 1
m[k] = 2
for k := range m {
delete(m, k)
}
print(len(m))
clear(m)
println(len(m))
}

📌Ответ

Пишите свой ответ в комментариях👇

@golangtests

BY Go tests




Share with your friend now:
tgoop.com/golangtests/427

View MORE
Open in Telegram


Telegram News

Date: |

In the next window, choose the type of your channel. If you want your channel to be public, you need to develop a link for it. In the screenshot below, it’s ”/catmarketing.” If your selected link is unavailable, you’ll need to suggest another option. How to create a business channel on Telegram? (Tutorial) Each account can create up to 10 public channels In handing down the sentence yesterday, deputy judge Peter Hui Shiu-keung of the district court said that even if Ng did not post the messages, he cannot shirk responsibility as the owner and administrator of such a big group for allowing these messages that incite illegal behaviors to exist. Telegram users themselves will be able to flag and report potentially false content.
from us


Telegram Go tests
FROM American