https://sanjay-priyadarshi.medium.com/how-to-find-the-length-of-an-array-in-javascript-javascript-tutorial-2eee0d7a4270