4 ms·
My first assumption on seeing Date.now() throw would be that it’s implementing an older standard. new Date().getTime() would be the ES3 equivalent.
by minitech 7y ago
My first assumption on seeing Date.now() throw would be that it’s implementing an older standard. new Date().getTime() would be the ES3 equivalent.