Merge pull request #64 from ThinaticSystem:Thinatic/perf-april-fool-evaluation

perf エイプリルフールのif文評価を高速化
This commit is contained in:
しなちくシステム 2022-04-01 17:21:50 +09:00 committed by GitHub
commit a38e1cda40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ const tick = () => {
const ny = now.getFullYear(); const ny = now.getFullYear();
year.value = ny; year.value = ny;
if (nm + 1 === 4 && nd === 1) { // if (nd === 1 && nm + 1 === 4) { //
month.value = 3; month.value = 3;
day.value = 32; day.value = 32;
} else { // } else { //