Thanks to visit codestin.com
Credit goes to github.com

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
merged 1 commit into from
Nov 8, 2020

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