javascript JS Goupby-like algorithm for Object arrays
Go to solution
Solved by keskparane,
iterate through the first array and save the elapsed time sums to a new object with their id
iterate through the second array and save the project ids to a new object with the corresponding elapsed time
you now have an object that can access elapsed times by project id

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now