shithub: mycel

ref: 8b6f2304278271517909d2a699a8e62b50c5968e
dir: /domino/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;