Calculating time after pressing button (javascript)

后端 未结 0 1782
长发绾君心
长发绾君心 2021-01-18 08:18

I\'m trying to make a reaction test website just for fun, but I don\'t know how to calculate the time taken between button presses.

I found this var startTime;

相关标签:
回答
  • 消灭零回复
提交回复
热议问题