alongubkin / alongubkin/spider

Maintain Syntax Compatibility with ES6 where possible and sensible

Open
#49 9 comments 0 reactions 0 assignees View on GitHub
need-feedback
Dominant language
JavaScript
Stars
1.3k
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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]`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.