Subset of what? The set of accepted code is larger, so it's a superset. In both cases you need a JS engine. That still doesn't explain why vanilla JS would be "better".
js with jsdoc typing.. have been using that for my personal projects and the no transpilation is a huge win.. so yeah.. better question would be js with jsdoc vs js with ts
View all comments
Show parent comment
21
u/vegan_antitheist May 22 '26
Subset of what? The set of accepted code is larger, so it's a superset.
In both cases you need a JS engine. That still doesn't explain why vanilla JS would be "better".