time taken in javascript
May 23, 2019
const start = performance.now();
const end = performance.now();
this.searchTimeTakenInSeconds = ((end - start) / 1000).toFixed(2);
May 23, 2019
const start = performance.now();
const end = performance.now();
this.searchTimeTakenInSeconds = ((end - start) / 1000).toFixed(2);