Q: Javascript Arrays
Q: Javascript Arrays
Out of context: Reply #1
- Started
- Last post
- 17 Responses
- rabattski0
not a javascript buff but a php buff but you could do a loop where the total loop equals the total length of the array and check every integer if it matches e.g. 1 and if so e.g. total++. but with 120000 integers that's gonna be slow as hell. splitting it in 6 arrays and counting the total length is def. an option and might be faster as well. but you lose the position of the original though.