So we would have this but instead of the one it would start at 58 then for each line after it would be 59, 60, 61 and so on. Is there a way I can do this?
Try changing your second line to let num = 1, then as CRJS suggests, put num++ inside the loop.
If you want it to start at 57 always, change the let statement to let num = 57
BUT
I remember from a previous converstaion that your data has numbered keys in it, which you’re probably pulling into the key variable. See what happens if you get rid of num entirely and put key in its place in your console log.
Hahahaha, you were partially right, but this is me right now formatting waifu yaml data for my own database so the key isn’t the numbered. Anyways, thanks for telling me why, I completely forgot that I used const lol.