Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setItems(items, { skip, cache } = {}) {
if (cache) {
this.items = insertArray(this.items, items, skip - this.skip);
} else {
this.items = items;
}
}