function foo() { // do stuff } const start = performance.now(); foo(); const end = performance.now(); console.log(`Call to ${foo.name} took ${end - start} ms.`);
등록된 댓글이 없습니다.
코리아뉴스 2001 - , All right reserved. 더보기