Discover Something New

Shopping made beautiful.

Explore our carefully selected collection of premium products. Your favourite things, all in one place.

100%

Quality Focus

Premium

Collections

Smart

Shopping

Premium headphones

FEATURED PRODUCT

Premium Headphones

Fast Delivery

Quick and reliable

Secure Shopping

Protected experience

Easy Returns

Simple process

Customer Support

Here to help

Our Collection

Featured Products

Explore our handpicked essentials.

Your Selection

Shopping Cart

Manage your selected products.

CART ITEMS

Product Price Quantity Total Action

Remove Product by ID (splice)

Update Product Quantity

CART SUMMARY

Number of Items 0
Total Quantity 0
Total Price ₹0

Product Names

Last Product Added

None

Grand Total

₹0

Secure shopping experience

Array Methods Lab

Explore the operations performed on your shopping cart.

01 / slice()

Cart Preview

Display the first two products without changing the original cart.

Click to preview.
02 / join()

Product Name List

Join all product names using + separator.

Click to generate.
03 / concat()

Previous Orders

Combine previous orders with current product names.

Click to combine.
04 / flat()

Product Categories

Convert nested category arrays into one array.

Click to flatten.
05 / flatMap()

Price + Tax Calculator

Generate original price and price after 18% tax.

Click to calculate.
06 / toSpliced()

Safe Remove

Preview removal first. Original cart changes only after confirmation.

Enter an ID to preview.
07 / Undo

Undo Last Removal

Restore the most recently removed product.

No removal yet.
08 / at()

First & Last Product

Access first and last products using at().

Click a button.
09 / copyWithin()

Copy Within Demonstration

Copy existing elements to another position without increasing array length.

Click to demonstrate.
Summary

SUMMARY OF PRODUCT

See how delete creates an empty position instead of reducing array length.

Click to see