Skip to content

[Incorrect] answer to array method bind #98

Open
@acagastya

Description

@acagastya

Describe the bug
For the question Array Method Binding, an incorrect answer is set to correct answer.

Expected behavior
The expected output is

1
2
3

And since it is not an option, the right answer should be Something else.

Possible update:
Change the question to:

const reduce = ['a', 'b', 'c'].reduce.bind([1, 2, 3]);
reduce((acc, cur) => acc + cur, '');

The options being:

  • 123
  • abc
  • An error is thrown
  • Something else

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions