Consider this expression:
x == y
Then,
const h2 = document.querySelectorAll("h2"); | |
const infoH2 = (() => { | |
for (let i = 0; i < h2.length; i++) { | |
if (h2[i].innerText === "Information") return h2[i]; | |
} | |
})(); | |
// holds the elements between the Information (H2) and the next H2 | |
const elList = []; | |
// start from the element after the H2 | |
let now = infoH2.nextElementSibling; |
# coding=utf-8 | |
""" | |
LAPZBOT Restful | |
Handles the inter process communications between Lapzbot and the Console, without having to rely on the database | |
for Server / User information. This is intended to be run in a thread. | |
Typical UseCase: | |
---------------- | |
import lapzbotAPI |