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)

Let's team up together 🀝

We're Hiring

We're hiring for a Senior Full Stack Engineer to join the DEV team. Want the deets? Head here to learn more about who we're looking for.