Closed antoinevastel closed 6 years ago
Instead of testing if webdriver is true we test for its presence using the in operator. It would also work with hasOwnProperty.
sg. this is a more typical way of doing feature detection anyway.
Instead of testing if webdriver is true we test for its presence using the in operator. It would also work with hasOwnProperty.