I am having a difficulty understanding what the meaning of the tsc
target version is (ES3 versus ES5).
In TypeScript output still uses Array.prototype.reduce even though I target ES3 it says one should read it as a language spec, but doesn't clear things up a lot. As far as I have tried, setting the --target
doesn't have any effect of the output nor the warning/error messages.
Am I correct to think that this option is to support a Visual Studio feature?