DEV Community

Terence Ralph
Terence Ralph

Posted on

calculate 2d array with reduce in vuejs

calculate 2d array with reduce in vuejs

0

In Vue, I'm inserting a value in a 2d array input field and calculating it per row, but the total value that is being returned only calculates the first row, and when I display, the computed value is all the same.

How can i calculate the inputted value so that…

Top comments (0)