Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2015年11月17日TC39会议摘要 #33

Open
hax opened this issue Dec 23, 2015 · 1 comment
Open

2015年11月17日TC39会议摘要 #33

hax opened this issue Dec 23, 2015 · 1 comment
Labels

Comments

@hax
Copy link
Owner

hax commented Dec 23, 2015

是否批准 Async functions 进入 Stage 4?

否。需等待两个实现通过测试。目前有 babel 和 chakra(edge)两个实现,FF 也马上会实现,但还缺乏经过 review 的测试集。
BTW,babel 作为实现是否满足需要 case by case 的看,某些特性有 source2source 就可以,但有些不行(比如 proxy)。

Object.values/entries

批准进入 Stage 3

String.pad{Left,Right}

更名为padStart/padEnd,并批准进入 Stage 3 。相应增加 trimStart/trimEnd
注:start/end VS left/right 差别主要在于是否考虑语言书写方向。

Array.prototype.includes

加入 @@unscopables,并进入 Stage 4 。
注:@@unscopables 的作用是防止破坏 with 的兼容性。

function.sent

因为缺乏实现,所以没有反馈。

Object.observe

撤销提案

如果解构没有绑定是否应该抛异常

代码例子:

 let { } = obj;
 let { foo: {} } = obj;

保持现有行为(不抛异常)。
注:出现这样的代码很有可能是程序员误将 foo = {} 写为了 foo: {}。但这是linter可以解决的问题。

非严格模式下函数提升语义

https://docs.google.com/presentation/d/1tu8L4Askkqz-CojBlaiP7pf0hQRQNXZpS4cmml0obQ8/
未达成一致意见。

@jincdream
Copy link

Object.observe

撤销提案?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants