MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getOldestDate

Function getOldestDate

scripts/web_timer_main.js:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49});
50
51function getOldestDate() {
52 try {
53 let dateKeys = Object.keys(web_timer);
54 dateKeys.sort();
55 return dateKeys[0];
56 } catch (e) {
57 console.log(e);
58 return null;
59 }
60}
61
62function init() {
63 backBtn.addEventListener("click", () => {

Callers 2

initFunction · 0.85
getDataFunction · 0.85

Calls 1

sortMethod · 0.80

Tested by

no test coverage detected