The import "function" is stupid. It's not really a function. It doesn't exist as a global. You can't prevent it from being called. It's damn stupid.
-
-
I'd at least allow it to be disabled. You can't use defineProperty to disable it.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
We talked about why it isn't a real function in https://youtu.be/mo8thg5XGV0 . But yeah, I agree with
@mathias, what's the other way?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It could be an injected local const, similarly as require in CJS
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.