What is the main purpose of static import/export statements?
Static import/export statements serve multiple important purposes, primarily enabling module bundling and static analysis: 1) They allow tools to determine dependencies at build time, 2) They enable tree-shaking (dead code elimination) in modern bundlers, 3) They facilitate better development tooling support (IDE features), 4) They allow for optimizations like module hoisting and scope analysis, 5) They enforce a clear and predictable module structure, 6) They enable build tools to create more efficient bundles, 7) They support static verification of module dependencies before runtime.