js callback && callback()
摘要:
js 中有时会这么写:callback && callback();解释:t's a shorthand conditional.If the left of the&&is truth-y, then whatever is on the right side of the&&is execute... 阅读全文
posted @ 2014-04-27 17:59 Sure_Yi 阅读(1020) 评论(0) 推荐(0) 编辑