这些在速度方面是否相等?jQuery链接性能
$(this).attr("date",date);
$(this).attr("date_start",date_start);
$(this).attr("heure_start",heure_start);
或
$(this).attr("date",date).attr("date_start",date_start).attr("heure_start",heure_start);
即使第二快是它更好地写分开,使代码更易读?
当格式正确时也更容易阅读IMO –
这是一个完整的解释! –