]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/array/#/separate.js
dc974b832e07d246c42a4ed6baf125f488ff175b
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / array / # / separate.js
1 'use strict';
2
3 var forEach = Array.prototype.forEach;
4
5 module.exports = function (sep) {
6 var result = [];
7 forEach.call(this, function (val, i) { result.push(val, sep); });
8 result.pop();
9 return result;
10 };