function array(length) { var rest= Array.prototype.slice.call(arguments); var r= new Array(length); if (0