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

Fix explanation saying you can do => 5 in JS#433

Merged
robvk merged 1 commit intoHackYourFuture:masterfrom
martijnarts:patch-2
Nov 8, 2020
Merged

Fix explanation saying you can do => 5 in JS#433
robvk merged 1 commit intoHackYourFuture:masterfrom
martijnarts:patch-2

Conversation

@martijnarts
Copy link
Contributor

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