Quizlet interview question

Rewrite a native browser JS method like document.querySelector