這兩個判斷理解
代碼中?
? ? ? ? ? ? function animate (offset) {
? ? ? ? ? ? ? ? if (offset == 0) {
? ? ? ? ? ? ? ? ? ? return;
? ? ? ? ? ? ? ? }
和?
? ? ? ? ? ? next.onclick = function () {
? ? ? ? ? ? ? ? if (animated) {
? ? ? ? ? ? ? ? ? ? return;
? ? ? ? ? ? ? ? }
這兩個判斷怎樣理解?if(animated)=if(animate==true)??