Captivate 12.3 using variables from “run Javascript” action

New to captivate. Looking for insight with regards to utilizing variables (on the slide)  that were created or manipulated  in the action “run Javascript”.  Even using localstorage.setItem and getItem is unsuccessful.  Is this even possible? best regards, Rick