console time js

Solutions on MaxInterview for console time js by the best coders in the world

showing results for - "console time js"
Maceo
12 Jan 2017
1console.time("answer time");
2alert("Click to continue");
3console.timeLog("answer time");
4alert("Do a bunch of other stuff...");
5console.timeEnd("answer time");
6
Giulio
03 May 2017
1console.time();
2for (i = 0; i < 100000; i++) {
3  // some code
4}
5console.timeEnd();