Can someone help me with this problem.
For further actions, you may consider blocking this person and/or reporting abuse
Can someone help me with this problem.
For further actions, you may consider blocking this person and/or reporting abuse
Emanuele Bartolesi -
Daniel Costa -
Dhairya Shah -
Niaz Morshed -
Once suspended, reneuwumuhire will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, reneuwumuhire will be able to comment and publish posts again.
Once unpublished, all posts by reneuwumuhire will become hidden and only accessible to themselves.
If reneuwumuhire is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Reneuwumuhire.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag reneuwumuhire:
Unflagging reneuwumuhire will restore default visibility to their posts.
Top comments (1)
Hola,
I helped a mentee with this problem. I was also not very clear on what was required.
The problem involves searching for an array,
[1,2]
, in a search space which is a multidimensional array, e.g[[2,3], [3,4]]
. However, the search space is passed in as part ofthis
value to the function.If we want to bind an object,
[[2,3], [3,4]]
, asthis
to thecontains
function it would becontains.bind([[2,3], [3,4]])
.bind
returns a new function, and that function then callscontains
with the given value asthis
. If you check your test files, you will notice thatbind
is used to pass in the search space/state.So the
contains
function should look something like the following, note howthis
is used in the function:References
this and bind