Lets say I have an arroy stored as a String in session Storage, and I want to read it, add one element, and set it back.
trackNavHistory = (path: String) =>