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