eazy method to store a minimal amount of data in javascript

hi im a beginner and wanted to make a little game in js for me to learn it as i found that its much easier to learn a language when i make an interesting project. what would be the best method to store data for it so i can edit and read them from my js program without spending too much time on other languages or programs than js? i dont need much more than just base that will store few key-number pairs that is readable and editable after i turn my computer off and on.

i tried making object but obviously when i refresh a page the numbers stay always the same.