Created
July 12, 2017 19:27
-
-
Save uhtred/b3b1a0fb712b2ddc03624e33c7620bf3 to your computer and use it in GitHub Desktop.
triangulo da sorte
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var numbers = []; | |
$('.sorteioItem').eq(3).find('.numberDicker').each(function(i, item){ | |
numbers.push(parseInt($(this).text())); | |
}) | |
console.log( numbers.sort(function(a, b) { | |
return a - b; | |
}).join(', ')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment