Optimization of use of date in HTML5 target

Monkey Forums/Monkey Bug Reports/Optimization of use of date in HTML5 target

devolonter(Posted 2013) [#1]
What do you think about replacing (new Date).getTime() by Date.now() in HTML5 target? This method is faster and more clear.

Small test: http://jsperf.com/date-now-vs-new-date/3


marksibly(Posted 2013) [#2]
I think it's an excellent idea.