It was the best of quines...
Svveet -- I just implemented a quine from scratch without referencing any examples. Go me! 🥳
const x = "const x = ?;\nconst y = x.replace('?', JSON.stringify(x));\nconsole.log(y);";
const y = x.replace('?', JSON.stringify(x));
console.log(y);