shithub: mycel

ref: 52ebaa6c60bf90f3b7b326b94723c1999ea99655
dir: /domino-lib/NodeList.es5.js/

View raw version
"use strict";

// No support for subclassing array, return an actual Array object.
function item(i) {
    /* jshint validthis: true */
    return this[i] || null;
}

function NodeList(a) {
    if (!a) a = [];
    a.item = item;
    return a;
}

module.exports = NodeList;