DEV Community

Discussion on: What is the oddest JavaScript behavior?

Collapse
lukewestby profile image
Luke Westby • Edited
typeof document.all === 'undefined' // true
document.all instanceof HTMLAllCollection // true