摘要: 阅读代码时对一行代码很困惑 step > max_step && (step = min_step); 查阅资料后发现它等价于 if (step > max_step) { step = min_step; } js中的&&和||本质是什么呢? && 和 || 的作用只有一个(定义): 进行布尔值的 阅读全文
posted @ 2018-08-09 14:32 笨笨蛋蛋 阅读(163) 评论(0) 推荐(0) 编辑