© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ajar
Technology is not enough. It has to serve an agenda. What's yours?
Found it:
var canUseDOM = !!( typeof window !== 'undefined' && window.document && window.document.createElement );
Chaim Lev-Ari
JS
Not sure why it should work. document.createElement should always exist: developer.mozilla.org/en-US/docs/Web/API/Document…
document.createElement