Public Access
0
0

Добавить js/DOM/Функции.md

This commit is contained in:
2026-03-13 07:54:11 +00:00
parent b5d1ceeebe
commit 040bc1be87

8
js/DOM/Функции.md Normal file
View File

@@ -0,0 +1,8 @@
- Получить элемент. Его нет, возвращаем null
```js
function getEl(el){
return document.querySelector(el) ?? null;
}
```