element.classList.toggle('myClass');
The toggle() method of the DOMTokenList interface removes an existing token from the list and returns false. If the token doesn't exist it's added and the function returns true.
slowlog = /srv/www/example.com/logs/slow.log
request_slowlog_timeout = 3s
/^[\d\.\s]+/
^
- искать в начале строки[]
- список символов\d
- цифры\.
- точка\s
- пробельные символы+
- в количестве от одногоif (json.cod != 200) {
console.log(json);
throw new Error(json.cod + ' ' + json.message);
}
Permitted content Phrasing content.