TypeScript is a superset of
JavaScript that brings to it an additional object-oriented-like syntax familiar
to .NET programmers that compiles down into JavaScript that any browser can run
today.TypeScript
- is an open source project, so there’s direct input from its users.
- is a standard in its own right.
- is a proof of concept for, and therefore points to a part of the ECMAScript 6 standard.TypeScript is just JavaScript. You only need to know JavaScript to use TypeScript, and all your favorite third-party JavaScript libraries will work fine with it.
JavaScript is just TypeScript. Any valid .js file can be
renamed .ts and be compiled with other TypeScript files.
TypeScript borrows from the Harmony specification. When Harmony is ratified, the TypeScript compiler can just let
the new language elements alone and allow the new
Harmony-compliant engines to parse your TypeScript as pure JavaScript
instead.
The TypeScript compiler is itself a JavaScript file
(compiled down from TypeScript). Thus it can be hosted in any browser,
on any host, on any operating system if required. There’s no
dedicated.
No comments:
Post a Comment