urltomarkdown/node_modules/domino/lib/NodeList.es5.js

16 lines
272 B
JavaScript
Raw Normal View History

2022-01-08 17:05:05 +00:00
"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;