Skip to content

Commit

Permalink
Update generics.sh with correct response (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilpenugonda authored Dec 9, 2023
1 parent 461f695 commit 6fdb46e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/generics/generics.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
$ go run generics.go
keys: [4 1 2]
list: [10 13 23]

# Note: The order of iteration over map keys is not defined in Go,
# so different invocations may result in different orders.
# The output need not necessarily be keys: [1 2 4].

0 comments on commit 6fdb46e

Please sign in to comment.