There was an error while loading. Please reload this page.
1 parent 50cf4c7 commit dd044fcCopy full SHA for dd044fc
src/index.js
@@ -31,7 +31,7 @@ function createEventEmitter(value) {
31
},
32
33
off(handler) {
34
- handlers = handlers.filter(h => h === handler);
+ handlers = handlers.filter(h => h !== handler);
35
36
37
get() {
0 commit comments