Rocky_Mountain_Vending/.pnpm-store/v10/files/48/416d57fc9738ad5a593897c78093d077bb9cdd80cb09a36f26487d9b836d6e1ea43e063d7d0a9e7e2502d35c46de358314a25c7a8c612ab4ade90c815d7bea
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

5 lines
310 B
Text

export default function map(values, mapper) {
if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
if (typeof mapper !== "function") throw new TypeError("mapper is not a function");
return Array.from(values, (value, index) => mapper(value, index, values));
}