Using ChatGPT to write an Obsidian addon * and had to tell it to rewrite the code to 00’s era javascript so I could understand / edit it.

Sure — here’s the same logic, rewritten in a more old-school, explicit, block-structured JavaScript style:&10;	•	no arrow functions&10;	•	no one-line if statements&10;	•	no ??&10;	•	no spread syntax&10;	•	clearer variable naming&10;	•	everything bracketed and stepped through&10;&10;Nothing functionally changes.
  • it displays an ‘add to journal’ button for each date it spots on the historic crufty old notes and bookmarks I’ve imported recently