ui
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function prepend(value, key) {
|
||||
if (key !== undefined) {
|
||||
return this.put(key, value);
|
||||
}
|
||||
|
||||
this.items.unshift(value);
|
||||
|
||||
return this;
|
||||
};
|
||||
Reference in New Issue
Block a user