8000 Fix explanation saying you can do `=> 5` in JS by martijnarts · Pull Request #433 · HackYourFuture/JavaScript3 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Conversation

@martijnarts
Copy link
Contributor
A5AC

This claimed you can leave out the parentheses if you have no parameters, which is false. You cannot do const x = => 5;

This claimed you can leave out the parentheses if you have _no_ parameters, which is false. You cannot do `const x = => 5;`
@robvk robvk merged commit db77890 into HackYourFuture:master Nov 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0