Posts by Natan Teodoro • 69 points
6 posts
-
0
votes1
answer175
viewsQ: Why does my array return a Undefined
I have this code, but I want to access a certain attribute of a object who is within an array, but is returning Undefined obj1 = { nome : 'name', array : [], funcao :…
-
1
votes2
answers39
viewsQ: Function reference
I would like to know why the function of the object is referencing to the name outside the object, and not to what is inside the object? the right would not be the function find the variable that is…
javascriptasked Natan Teodoro 69 -
3
votes3
answers86
viewsQ: Javascript comparison
well I want to know if my comparison has how to be improved, I want to make the code shorter (dry) const teste = function(a){ if(a != null && a != undefined && a != ""){…
-
-1
votes6
answers6243
viewsA: check repeated number inside the array c#
actually vc is comparing the repetition loop numbers and not the array int[] array1, you have to store the value of the array in a variable, and within the if you make the comparison between them…
c#answered Natan Teodoro 69 -
0
votes3
answers597
viewsQ: How does the equals() method work in Java?
At the time I will use the method equals() I place an object of the type Person and it works, because? How it works being that the object I passed is not the type Object? I know all this has to do…
-
1
votes2
answers111
viewsQ: Why doesn’t a private method go into the documentation in Java?
Why when a method has one void as modifier it does not appear in the documentation? As soon as I put the public it appeared in the documentation. Is there any other modifier that interferes with…