Created
June 10, 2016 08:13
-
-
Save laat/b3971c1ffcbd5c045ec7c968ce16891f 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
function equals(a1, a2) { | |
return (a1.length == a2.length) && a1.every(function(element, index) { | |
return element === a2[index]; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment