1. function query (el) {
    2. if (typeof el === 'string') {
    3. const selected = document.querySelecotr(el)
    4. if (!selected) {
    5. return document.createElement('div')
    6. }
    7. return selected
    8. } else {
    9. return el
    10. }
    11. }