You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...is unnecessary. If we're only using the default import (as is always the case in non-strict mode, by definition, and often the case in strict mode), then we don't need the original foo reference. So the code could be written more neatly:
Most of the time, this...
...is unnecessary. If we're only using the default import (as is always the case in non-strict mode, by definition, and often the case in strict mode), then we don't need the original
foo
reference. So the code could be written more neatly:It's only on the rare occasions that we import both default and named bindings from external modules that we need to do the
__default
dance.The text was updated successfully, but these errors were encountered: