Created
January 29, 2017 14:45
-
-
Save railsstudent/554cc8b5e306cf5b821e43042c9bba45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array_diff = (a, b) -> | |
diff_array = [] | |
for e in a | |
if e not in b then diff_array.push e | |
diff_array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment