Closed camdenmoors closed 3 years ago
Since document.querySelector returns Element | null it's useful to handle this case here (currently having to do document.querySelector() || undefined)
Element | null
document.querySelector() || undefined
Since document.querySelector returns
Element | null
it's useful to handle this case here (currently having to dodocument.querySelector() || undefined
)