Skip to content
Advertisement

how to create dynamic array?

how to create a dynamic array? I need to set the dynamic value of product id and qty and passing into the items array.

JavaScript

Advertisement

Answer

Something like this, I suppose:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement