JavaScript Date.now undefined [closed]

function save(save) {
    let timestamp = new Date();
    cookie.setCookie("test" + timestamp.now, save, 360);
}

I’m trying to make this code create a cookie named “test [timestamp here]” but its not working for some reason.. any ideas?