shithub: mycel

ref: 8f3e38f10a26e17f398c32a6caac5d3d19bb715b
dir: /cmd/gojafs/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;