向上取整: Math.ceil(5.1234); // 6 向下取整: Math.floor(5.1234); // 5
function copySelf(obj) { var newobj = obj.constructor === Array ? [] : {}; if (typeof obj !== "object") { return; } for (var i in
他人博客情况3中,如果倒过来是不行的,他只能收集多余的参数。