Posts by Todeshine • 15 points
3 posts
-
1
votes1
answer64
viewsQ: Variable that has a variable in its name
In an exercise: A company wants to know in how many months there was profit, that is, the balance greater than zero. The code for resolution was this: function quantidadeDeMesesComLucro(umPeriodo){…
-
0
votes1
answer94
viewsQ: Help with a javascript code (Beginner)
They gave me an exercise but when I send it to see if it’s right they tell me it’s wrong, that it’s not returning the correct value. To be more exact they claim that: - The function summeDe25(10)…
-
0
votes0
answers29
viewsQ: Difference between declaring with var or Let in javascript?
Hi, my first post here. I’m starting to study javascript and I came up with a question between when to declare a variable with var or Let. I’ll use a conditional code as an example: let idade = 19;…