alongubkin / alongubkin/spider

Maintain Syntax Compatibility with ES6 where possible and sensible

オープン
#49 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
need-feedback
主要言語
JavaScript
スター
1.3k
フォーク
46
PR マージ指標
30日以内にマージされた PR はありません

説明

There are some features already implemented in Spider that have a similar but different syntax compared to ES6. These should be made consistent.

Examples I can think of:
- Splats. ES6 uses `...rest`, spider uses `rest...`
- `use` / require vs the ES6 Module syntax
- Class Syntax (already mentioned)
- Interchanged for-of should work with objects as well.
- List Comprehension:
- ES6 : `[for x in list x * 2]`
- Spider: `[x * 2 for x in list]`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。