1.将时间戳转换成时间var formatDate = function(d) { var now = new Date(d); var year = now.getFullYear(); var month = now.getMonth() + 1; var date = now.getDate(); var hour =
先从两个问题看起:第一个问题 为什么 a && b 返回的是true,b && a 返回的是61 var user = 6;2 var both = true;3 4 console.log( user && both); //true5 console.log( both && user); //6&
public abstract class ClassLoadingTest { public static void main(String[] args) { User user3 = new User(); }}public class User { public static User user= new