Browse Source

correct name

Gennadysht 2 năm trước cách đây
mục cha
commit
1a5c820d06
3 tập tin đã thay đổi với 0 bổ sung17 xóa
  1. 0 0
      js/12/hw12_03_MyBind.html
  2. 0 17
      js/12/hw12_04_.html
  3. 0 0
      js/12/hw12_04_check_result .html

js/12/hw12_03_.html → js/12/hw12_03_MyBind.html


+ 0 - 17
js/12/hw12_04_.html

@@ -1,17 +0,0 @@
-<header>make profile timer</header>
-
-<body>
-    <script>
-        const makeProfileTimer = () => {
-            let startTime = performance.now();
-            function timer() {
-                return performance.now() - startTime;
-            }
-            return timer;
-        }
-        var timer = makeProfileTimer()
-        alert('Замеряем время работы этого alert');  //некий код, время выполнения которого мы хотим измерить с высокой точностью
-        alert(timer()); //alert должен вывести время в микросекундах от выполнения makeProfileTimer до момента вызова timer(), 
-                   // т. е. измерить время выполнения alert
-    </script>
-</body>

js/12/hw12_05_ .html → js/12/hw12_04_check_result .html