2 ms·
You're right maybe it can't be done universally. But you could add an optimizer to a production build system which rewrites any instance of: window.Library.
by dstein 16y ago
You're right maybe it can't be done universally. But you could add an optimizer to a production build system which rewrites any instance of:
window.Library.util.add()
To:
var window_Library_util_add = window.Library.util.add;
window_Library_util_add();