HOME


sh-3ll 1.0
DIR:/proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/collect.js/src/methods/
Upload File :
Current File : //proc/self/cwd/bright.medisavehealthcarebd.com/node_modules/collect.js/src/methods/prepend.js
'use strict';

module.exports = function prepend(value, key) {
  if (key !== undefined) {
    return this.put(key, value);
  }

  this.items.unshift(value);

  return this;
};