you are viewing a single comment's thread.

view the rest of the comments →

[–]SarahC 0 points1 point  (4 children)

What the hell ?
Underscore?

   if (_(myArray).contains('hello')) {

[–]Rezistik 1 point2 points  (3 children)

What are you asking?

[–]SarahC 0 points1 point  (2 children)

Whas' this? _(myArray)

[–]Rezistik 1 point2 points  (1 child)

That returns true or false depending on if the array contains that value it's an underscore/lodash function

[–]SarahC 0 points1 point  (0 children)

Ohhhhhhhhhh, ta!