Created
April 11, 2015 17:01
-
-
Save IPRIT/7a7b73f51dfa23132ddd 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 duckCount() { | |
| return Array.prototype.slice.call(arguments).filter(function(obj) { | |
| return Object.prototype.hasOwnProperty.call(obj, 'quack') | |
| }).length | |
| } | |
| module.exports = duckCount; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment