diff --git a/redyellow.js b/redyellow.js index 50f776d..6044090 100644 --- a/redyellow.js +++ b/redyellow.js @@ -5,12 +5,6 @@ function red() { - var startMsec = new Date(); - // ???????????????CPU????????? - while (new Date() - startMsec < waitMsec); -} - -sleep(5000); document.getElementById("box").style.backgroundColor = "red"; document.getElementById("box").style.color = "red"; }