Skip to content

04_removeFromArray: Hint about array.forEach and/or array.includes() in some way #520

@schikulski

Description

@schikulski

Prerequisites

  • I have thoroughly read and understand The Odin Project Contributing Guide
  • I have searched the existing issues to ensure this improvement hasn't been suggested before (please have a look through our open issues list to make sure)
  • The title of this issue follows the <Location of the improvement>: <Brief description of the improvement> format, e.g. Exercises: Add exercise on XYZ
  • (Optional) I am interested in working on this issue and would like to be assigned to it

Improvement Description

As a TOP student I successfully did this exercise by using two for loops – though it was not pretty.

After checking the solution, I see that both array.forEach and array.Includes() would make this a whole lot easier, and I'm thankful I learned that.

But I can't help but think that it would be a better learning experience if I would get a hint about those methods beforehand in the hints section.

I'm pretty sure I wasn't exposed to the either forEach or Includes earlier in the course, but I might be wrong.

Acceptance Criteria

  • Include a subtle hint about the forEach and Includes methods in the hints section.

(Optional) Additional Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs ReviewThis issue/PR needs an initial or additional review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions