News for hackers. Stuff that matters.
Re:The TypeScript compiler is now implemented internally wit... by akiselev on Wednesday November 02, 2022 @03:36PM (#33441747)
For ES6 modules, the exports object is frozen (made read-only) so the JIT can make some extra assumptions and optimizations. With bundles, unless the bundler inserts `Object.freeze` around `module.exports`, they have to be treated as dynamic objects.

There are no comments on this comment yet.