"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getChildIndex = getChildIndex;
function getChildIndex(child) {
    let i = 0;
    for (i = 0; (child = child.previousSibling); i++) { }
    return i;
}
//# sourceMappingURL=getChildIndex.js.map