sarahemaginnis / intro-js-array-methods

0 stars 0 forks source link

`.includes()` - string method #8

Open sarahemaginnis opened 2 years ago

sarahemaginnis commented 2 years ago

While we are learning array methods, there are some that can be used for strings as well. We will take a look.

sarahemaginnis commented 2 years ago

Compares text, a primitive value, to see if it's included in something, whether it's a string or array. Primitive values include