Posts by Mauro Siqueira • 31 points
2 posts
-
3
votes1
answer61
viewsQ: Different ways to create an iterator for values
Is there any difference between creating a iterator for the values of an array using these two forms? let myIterator = arr[Symbol.iterator]() let myIterator2 = arr.values() I’ve run some tests, and…
-
0
votes1
answer39
viewsQ: Unexpected behavior with basic Javascript operations
I would like to know the reason for the behavior, in my view strange, Javascript in subtractions with real numbers: 1.74 - 1.7 // retorna: 0.040000000000000036 I explain the question better: I would…
javascriptasked Mauro Siqueira 31