I've tried to get a save function getting triggered by a button to work but when I search on every storage possible i don't find anything so I need to know what I'm doing wrong or what lacks the code
function savewm(){
var save = {
plus1: plus1,
}
localStorage.setItem('save', JSON.stringify(savewn));
};