Giovanni Pace
I'll show you how to initialise LocalStorage on the first page load with an empty array, without overwriting existing data in subsequent sessions.