During my development work on frank-config-layout, I made many errors with indexes starting at 0 or 1. Iterating with L.forEach(...) is much less error prone. You can have the index within the array as the second argument: L.forEach((v, i) => {... })
During my development work on frank-config-layout, I made many errors with indexes starting at 0 or 1. Iterating with L.forEach(...) is much less error prone. You can have the index within the array as the second argument: L.forEach((v, i) => {... })