projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
87b74138d7cdadeb06d2f9138c81fd2292161ee8
[dotfiles/.git]
/
concat.js
1
var concat = require('../array/virtual/concat');
2
3
var ArrayPrototype = Array.prototype;
4
5
module.exports = function (it) {
6
var own = it.concat;
7
return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.concat) ? concat : own;
8
};