4 ms·It does apply to JS if you use a bundler that has “tree-shaking” also known as “dead code elimination”.by styfle 2y agoIt does apply to JS if you use a bundler that has “tree-shaking” also known as “dead code elimination”.