kissyteam/kissy — Issue #85: NodeList slice negative parameter return undefined in ie6
Author: yiminghe
Created: 2012-01-31 02:13:28+00:00
State: open

```javascript

(function(S){
var $ = S.all;
alert($("li",".box").slice(0,1).html());
alert($("li",".box").slice(-1).html());//在IE6下undefind
})(KISSY);

```

yui3 ok :

```javascript

YUI().use('node', function(Y) {
var $ = Y.all;
var node1 = $("li",".box").slice(0,1);
alert(node1.get("innerHTML"));
var node2 = $("li",".box").slice(-1);
alert(node2.get("innerHTML"));
});

```