Message from JavaScript discussions

November 2020

— Y... yeah


Hello, any easy way to know it's been 24hours to the current marked hour ?

const markedHour = new Date().getHours();
//cache marked hour somewhere to compare to current hour.

const currentHour = new Date().getHours();

if comparison//

— Https://

— Hi

— How can I access static properties of a derived class from a static method

— But should they have to?

— You're just wasting your contributors' time if you want to have them dig through docs to do a single-line change and test it

Message permanent page

— You'll get more contributions if you make it as easy as possible for them

— const start =;

// run this every 5s, 10s, 60s, or however often is appropriate
if (start + 1000 * 60 * 60 * 24 >= {
console.log('it has been 24 hours');

Message permanent page

— Https://

— No man, substraction is the base

— Console.log('Hello to the JavaScript Party')