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

Issue with Object Map #116

Open
2 of 8 tasks
sauliusp opened this issue Feb 5, 2024 · 0 comments
Open
2 of 8 tasks

Issue with Object Map #116

sauliusp opened this issue Feb 5, 2024 · 0 comments

Comments

@sauliusp
Copy link

sauliusp commented Feb 5, 2024

Your GreatFrontEnd account email (optional)

sauliuspetr@gmail.com

Problematic section

  • Question Description
  • Question Skeleton
  • Question Solution
  • Test Cases (Missing/Incorrect/Unclear)

Type of question

  • JavaScript
  • User Interface
  • System Design
  • Quiz

Describe the issue

The task description states that the function 'fn' is called with the single argument, the value that is being mapped/transformed. Although there is one test case where 2 'fn' arguments are expected (test name is ''can access this'').

Code you used to submit (where relevant)

/**
 * @param {Array<*|Array>} value
 * @return {Array}
 */
export default function flatten(value) {
  // Your code here.
}

Expected behavior vs Actual behavior (where relevant)

Screenshots (where relevant)

Anything else?

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

No branches or pull requests

1 participant