This is a nice little script.
function wayback_link(url) {
return `https://web.archive.org/web/${url}`;
}
console.log(wayback_link("https://github.com"))