How to represent 1 hour in milliseconds with JavaScript

1 Answer

0 votes
const hourInMilliseconds = 60 * 60 * 1000;

console.log(hourInMilliseconds); 


  
  
  
  
/*
run:
  
3600000
  
*/

 



answered Mar 10, 2022 by avibootz

Related questions

1 answer 211 views
1 answer 219 views
1 answer 208 views
1 answer 239 views
1 answer 586 views
1 answer 217 views
1 answer 263 views
...