Skip to content

Commit

Permalink
Named function
Browse files Browse the repository at this point in the history
  • Loading branch information
opensoars committed Nov 25, 2015
1 parent 4f86bf3 commit cfcafcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* ens.arr([1, 2]) // [1, 2]
* ens.arr({}) // []
*/
module.exports = function (x) {
module.exports = function arr(x) {
return x instanceof Array ? x : [];
};

0 comments on commit cfcafcc

Please sign in to comment.