I would do it the following way : First find if the product has already been added to the curr array; If yes, increments the count; else, ...
確定! 回上一頁