3 ms·
> All JS programs are also TS programs, but not vice versa. There's more JS programs in the world than TS programs. I think you are confusing terminology, beca
by goto11 4y ago
> All JS programs are also TS programs, but not vice versa. There's more JS programs in the world than TS programs.
I think you are confusing terminology, because those two statements are contradictory.
- hbrn 4y agoYou're absolutely right, last statement should be inverted. I think meant to say something else, but at this point I don't remember what it was.
- goto11 4y agoIn any case, the TS spec is a superset of the JS spec, since it incorporates the JS spec. If you don't consider the JS spec as part of the TS spec then they are disjoint sets. But the TS spec cannot be a subset of the JS spec since that would mean it removed some parts of the JS spec, which is not the case.