Deno: Support JavaScript?

Created on 7 Jun 2018  Â·  7Comments  Â·  Source: denoland/deno

Deno is a secure TypeScript runtime on V8, can javascript run it ?

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

All 7 comments

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benjamingr picture benjamingr  Â·  3Comments

ry picture ry  Â·  3Comments

metakeule picture metakeule  Â·  3Comments

justjavac picture justjavac  Â·  3Comments

xueqingxiao picture xueqingxiao  Â·  3Comments