Files
sitoctt/node_modules/@mixmark-io/domino/NodeList.es5.js
2024-08-31 00:49:21 +02:00

16 lines
272 B
JavaScript

"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;