Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Arrow function single argument without parenthesis #292

Closed
KSXGitHub opened this issue Dec 25, 2015 · 2 comments
Closed

Arrow function single argument without parenthesis #292

KSXGitHub opened this issue Dec 25, 2015 · 2 comments

Comments

@KSXGitHub
Copy link
Contributor

    var arrow = args => 1234; // not works
    var arrow = (args) => 1234; // works

image

I wish that, in the first line, arrow is marked as a function and args is marked as a parameter.

@MaximSokolov
Copy link
Contributor

Duplicate of #193

@winstliu
Copy link
Contributor

Thanks @MaximSokolov!

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

No branches or pull requests

3 participants