哪些ES6功能在Typescript中实现? [英] Which ES6 features are implemented in Typescript?

查看:144
本文介绍了哪些ES6功能在Typescript中实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找目前在打字机中实现的Ecmascript 6功能列表,但无法找到最新的在线。

I was looking for a list of Ecmascript 6 features that are currently implemented in typescript but couldn't find anything up to date online.

以下是我到目前为止的功能列表:

Here is the list of features I have come up with so far:


  1. 箭头功能

  2. 休息参数

  3. 默认参数值

  4. 类(整个规范是否实现? )

  5. 模块(我认为有一些实现差异)

  1. Arrow functions.
  2. Rest parameter
  3. Default parameter values
  4. Classes (is the entire spec implemented?)
  5. Modules (I think there are some implementation differences though)

谢谢! p>

Thanks!

推荐答案

此表还列出了TypeScript以及许多其他浏览器及其当前的ES6实现级别:

This table also lists TypeScript along with many other browsers and their current ES6 implementation level:

http://kangax.github.io/compat-table/es6/

这篇关于哪些ES6功能在Typescript中实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆