addEventListener depends on the browser (modern browsers support it; old ones might not). if (x.addEventListener) checks if the method exists. if (!!x ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results