【 在 hgoldfish (老鱼) 的大作中提到: 】
: (!!prepend ? targetImageList.prepend : targetImageList.append)(o);
targetImageList[!!prepend ? "prepend" : "append"](o)
这样能用吗……
: 和
: if(!!prepend) {
: targetImageList.prepend(o);
: } else {
: targetImageList.append(o);
: }
: 等价吗?答案是,不一样。
--
FROM 180.173.63.*