We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 235b115 + 7a29196 commit 1b8374cCopy full SHA for 1b8374c
lib/atob.js
@@ -35,4 +35,4 @@ function polyfill (input) {
35
}
36
37
38
-module.exports = typeof window !== 'undefined' && window.atob || polyfill;
+module.exports = typeof window !== 'undefined' && window.atob && window.atob.bind(window) || polyfill;
0 commit comments