$arResult
строка, мы пытаемся из неё получить ["PROPERTIES"]
;$arResult["PROPERTIES"]
строка, мы пытаемся из неё получить ["DOWN"]
;$arResult["PROPERTIES"]["DOWN"]
строка, мы пытаемся из неё получить ["VALUE"]
;$arResult["PROPERTIES"]["DOWN"]["VALUE"]
строка, мы пытаемся из неё получить ["TEXT"]
.p = 8
n = 48
c = n
x = n-1
y = 2
while y <= p:
c = c * x / y
y += 1
x -= 1
print(c)
A container first surrounds the child with padding (inflated by any borders present in the decoration) and then applies additional constraints to the padded extent (incorporating the width and height as constraints, if either is non-null). The container is then surrounded by additional empty space described from the margin.
const anchors = [];
[...document.querySelectorAll('a')].forEach(($link) => {
let href = $link.getAttribute(`href`);
if (href.startsWith(window.location.href)) {
href = href.split(window.location.href).join(``);
}
if (href.startsWith(window.location.pathname)) {
href = href.split(window.location.pathname).join(``);
}
if (href !== `#` && href.startsWith(`#`)) {
anchors.push({
href,
text: $link.textConent,
});
}
});
console.log(anchors);
неужели нельзя как в том же Wordpress забрать папку с темой и перенести базу данных?Можно. А ещё в админке есть инструмент бекапа - можно его развернуть через служебный скрипт. Но если для вас использование mysqldump не представляет сложности, то проще руками всё скопировать.
Bitrix же платныйРегистрация коммерческого продукта
достаточно просто стандартно отправить на сервер по ftp или ssh или нужно что-то делать дополнительно, собирать что-то, запускать"В Битриксе" никакого особого деплоя нет, поэтому обычно нужно просто доставить файлы до сервера.
let users = [];
let nameFilter = ``;
// TODO: Тут вы реализуете изменение значения nameFilter из какого-то поля и после этого снова вызываете render()
const render = () => {
document.body.innerHTML = users
.filter((item) => !nameFilter || item.name.toUpperCase().includes(nameFilter.toUpperCase())
.map((item) => `<span class="name">${item.name}</span>`).join(``));
}
fetch(`users.json`)
.then((res) => res.json())
.then((data) => users = data)
.then(render);