887505e3ab
This is part of a series of CLs to enable real deferred loading in DDC. - Creates a new top-level object in dart_library.js for holding the state/API for deferred loading. - Only supported in the DDC module system This also contains a bunch of cleanup/comments for our internal JS Linter. Notably, 'var' is not allowed, so we're attaching our top level namespace objects to `self`. Change-Id: I230d63f044e85e7d16644525ff79fa9522398c87 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/289400 Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>