Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
An example in lox
brandizzi
Aug 1st, 2018
12,755
0
Never
2
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Kotlin
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
fun
makeCounter
(
)
{
var
i
=
0
;
fun
count
(
)
{
i
=
i
+
1
;
print i
;
}
return
count
;
}
var
counter
=
makeCounter
(
)
;
counter
(
)
;
// "1".
counter
(
)
;
// "2".
Advertisement
Comments
User was banned
User was banned
Add Comment
Please,
Sign In
to add comment
Public Pastes
AI destroys crypto
CSS | 7 min ago | 0.67 KB
✅ FREE COINS METHOD
CSS | 7 min ago | 0.67 KB
Get $12,000 from this mehtod
CSS | 8 min ago | 0.86 KB
Got $12,000 from this method
CSS | 11 min ago | 0.67 KB
Instant Profits Method
CSS | 11 min ago | 0.67 KB
✅ +12,000$ in 2 days
CSS | 12 min ago | 0.86 KB
+12,000$ in 2 days
CSS | 30 min ago | 0.67 KB
Easiest method for beginners
CSS | 30 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!