I'm an front end webdev intern at a small company where I'm making a panel which displays database statistics.
Now I noticed that on my panel which gives the count for how many entries are in a specific array the specific stat always takes a while to load (my other statistics appear nearly instantly).
Now my question is, does array.length actually loop though the whole array to get it's length? The length is about 17000 and takes about 5 seconds to appear so I'm guessing that's the time it takes to loop through such a big array.