Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scope1 := {}
- scope2 := {}
- _x := 0
- func := ??{
- if _x++ == 0 {
- a := scope1
- } else {
- a := scop2
- }
- }
- for i:=0;i<2;i++ {
- func{
- console.log(a)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement