DZone

Yesterday, I was pointed to webpack#5600, which outlines how webpack v3 generates code for calls to imported functions, i.e. code like this:

import foo from "module";

foo(1, 2);  // <- called without this (undefined/global object)

is turned into the following bundled code:

Source: DZone