if(arguments.length>0){ this.setStart(arguments[0][0][0],arguments[0][0][1]); this.setEnd(arguments[0][1][0],arguments[0][1][1],arguments[0][2]); }else{ this.commonAncestorContainer = null; this.startContainer = null; this.startOffset = 0; this.endContainer = null; this.endOffset = 0; this.collapsed = true; }