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

[...new Map()] and [...new Set()] #32547

Closed
Coooooooola opened this issue Jul 25, 2019 · 2 comments
Closed

[...new Map()] and [...new Set()] #32547

Coooooooola opened this issue Jul 25, 2019 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@Coooooooola
Copy link

TypeScript Version: 3.4.0-dev.201xxxxx

Search Terms:

Code

[...new Map()]

Expected behavior:

Array.from(new Map())

Actual behavior:

new Map().slice()

Playground Link:

Related Issues:

@MartinJohns
Copy link
Contributor

Duplicate of #8856?

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Jul 25, 2019
@RyanCavanaugh
Copy link
Member

Downlevel ES6 spread syntax into a call to an ES6 Array API... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants