Posts by Gabriel • 51 points
4 posts
-
3
votes1
answer62
viewsQ: How does this piece of code work?
My doubt is more precisely in line "8", line containing the for. I’ve never seen one used this way. I understood the logic of the line, but the operation of this iteration made me very curious.…
-
-2
votes2
answers34
viewsQ: Error with asynchronism in Javascript
Guys, have a list (on a web page) that when I scroll it carries new elements, Suppose it is the list [john, paul, peter], by giving scroll as said earlier it will hypothetically carry the elements…
-
1
votes2
answers101
viewsQ: Why doesn’t this work in Javascript?
Why can’t I declare an "address" variable at the beginning of the class definition? And how the JavaScript can declare class variables using only this.nome_variavel? class Pessoa { var endereco;…
-
1
votes1
answer32
viewsQ: Javascript error
People, I am a beginner in javascript and I am trying to do an exercise that consists in creating a button that generates stacked squares every time it is clicked. The point is, I’ve been over this…