🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
10 lines
174 B
JavaScript
Executable File
10 lines
174 B
JavaScript
Executable File
'use strict';
|
|
|
|
module.exports = function prepend(value, key) {
|
|
if (key !== undefined) {
|
|
return this.put(key, value);
|
|
}
|
|
|
|
this.items.unshift(value);
|
|
return this;
|
|
}; |