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

ES6 Import Default Export should allow any valid string as import name #35611

Open
cmccormack opened this Issue Mar 15, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@cmccormack
Copy link
Contributor

commented Mar 15, 2019

Describe your problem and how to reproduce it:
The exercise ES6: Import a Default Export specifies the user should use subtract as the method name, but any valid string should work and should not be rejected. We should modify the challenge to suggest using subtract but allow any string to be used as long as it's in the import and then invoked with the same name.

Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/import-a-default-export/

@RandellDawson

This comment has been minimized.

Copy link
Member

commented Mar 15, 2019

@cmccormack The following issues are kind of related (relating to what constitutes valid syntax which should pass). The ones below have open PRs.

#30498

#17665

#17436

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.