Need to check time execution on client side
var start = new Date().getSeconds();
// code...
var end = new Date().getSeconds();
let time = end - start
console.log(time);
Result: 0
;
I suppose it's a part of second, for example 0.05
. How can I get it?