Deno is a secure TypeScript runtime on V8, can javascript run it ?
TypeScript is a JS superset. Every JS is TS code.
@ry mentioned that in a recent talk at JSConf EU this year.
You can watch it here, it's worth your time:)
And i can use javascript as before?
like es5 or latest features?
@luneice For you, See http://www.typescriptlang.org/
More like 'Every TS is JS code.' @brunofin
Thanks for your help.
Is TS really a superset of JS?
For example, console.log('1'-1) is not a valid TS but JS.
This make me confused.
This is not the place to discuss if TS is _really_ superset of TS or not. Let's not add noice with such discussions.
Most helpful comment
TypeScript is a JS superset. Every JS is TS code.
@ry mentioned that in a recent talk at JSConf EU this year.
You can watch it here, it's worth your time:)
https://youtu.be/M3BM9TB-8yA?t=15m53s