3 ms·
it's really not a c# clone. If anything JS is still more similar to python that it is to c#. JS already has 'with', so 'using' seems like to closest semi-stand
by amitport 3y ago
it's really not a c# clone. If anything JS is still more similar to python that it is to c#.
JS already has 'with', so 'using' seems like to closest semi-standard keyword to use.
- moritzwarhier 3y agoOf course this does not change the fact that it is a reserved keyword, but "with" is prohibited in strict mode and as such also in any ES Module. I assume this also applies to any TS module regardless of the compiler. But since TS is supposed to be a superset of JS, of course this does not change anything
- oaiey 3y agowhen you substract everything what C/C++/Java is, this will be interesting comparison what is closer ;)