Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
[Go] Modifying elements in an array (no effect)
cwchen
Sep 20th, 2017
1,024
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Go
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
package
main
import
"fmt"
func
main
()
{
arr
:=
[
5
]
int
{
1
,
2
,
3
,
4
,
5
}
for
_
,
e
:=
range
arr
{
e
=
e
*
e
}
for
_
,
e
:=
range
arr
{
fmt
.
Println
(
e
)
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
πππ HOW TO EARN $5,000 A WEEK [GUIDE] π πβ
JavaScript | 8 sec ago | 0.67 KB
π₯ Swapzone Monetizing Method π₯
JavaScript | 21 sec ago | 0.67 KB
π¨ QUICK $1,500 IN 2 HOURS π―β
JavaScript | 1 min ago | 0.67 KB
π―π―π― EXCLUSIVE TRADING GUIDE
JavaScript | 1 min ago | 0.67 KB
ββ Free Crypto Method β ββ
JavaScript | 2 min ago | 0.67 KB
Infinite Money Glitch
JavaScript | 2 min ago | 0.67 KB
π―π― +50,000$ in 1 monthβ π―β
JavaScript | 3 min ago | 0.67 KB
β β Huge JS NODE Glitch on Swapzone β β
JavaScript | 3 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!