You can test this easily with plain arrays in any environment (browser, Node.js, Jest).
Products currently on sale or clearance deals.
Price:
Order ID: