public/subjects/group-price
davhojt d14e5d38b5 docs(froup-prices): correct grammar 2022-05-31 08:28:06 +02:00
..
README.md docs(froup-prices): correct grammar 2022-05-31 08:28:06 +02:00

README.md

Group Price

Instructions

Create a function named groupPrice, that can find prices in a given string.

Your function will return 2D array with the full price breakdown.

If there is no match, your function should return an empty array.

Example

Given price of USD12.31:

[["USD12.31", "12", "31"]]