Skip to content

Instantly share code, notes, and snippets.

View Jacob-Bass's full-sized avatar

Jacob Bass Jacob-Bass

View GitHub Profile
@Jacob-Bass
Jacob-Bass / mutations.js
Last active January 25, 2016 01:07
FreeCodeCamp "Mutations" solution
Return true if the string in the first element of the array contains all of the letters of the string in the second element of the array.
For example, ["hello", "Hello"], should return true because all of the letters in the second string are present in the first, ignoring case.
The arguments ["hello", "hey"] should return false because the string "hello" does not contain a "y".
Lastly, ["Alien", "line"], should return true because all of the letters in "line" are present in "Alien".

Keybase proof

I hereby claim:

  • I am jacob-bass on github.
  • I am baseddev (https://keybase.io/baseddev) on keybase.
  • I have a public key ASDHu4RhYz_KQAv14TjijGyU4ERiajzHBDO5XFP_WR8-KAo

To claim this, I am signing this object: