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