Debian Codegraph @

mixmark-io-domino/lib/NodeList.es6.js

raw symbols SCIP
1 /* jshint esversion: 6 */
2 "use strict";
3
4 module.exports = class NodeList extends Array {
5 constructor(a) {
6 super((a && a.length) || 0);
7 if (a) {
8 for (var idx in a) { this[idx] = a[idx]; }
9 }
10 }
11 item(i) { return this[i] || null; }
12 };