So, I know I can get current time in milliseconds using JavaScript. But, is it possible to get the current time in nanoseconds instead?
Achieve microsecond accuracy in most browsers using:
window.performance.now()
See also:
1.4m articles
1.4m replys
5 comments
57.0k users